共用方式為


WebFileProperties2 介面

指定網站內部檔案所支援的屬性。 這個介面會擴充 WebFileProperties 以支援自訂工具。

命名空間:  VsWebSite90
組件:  VsWebSite.Interop90 (在 VsWebSite.Interop90.dll 中)

語法

'宣告
<GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")> _
Public Interface WebFileProperties2 _
    Inherits WebFileProperties
[GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")]
public interface WebFileProperties2 : WebFileProperties
[GuidAttribute(L"899456B4-E5AD-49EF-AB04-1CED913A6E44")]
public interface class WebFileProperties2 : WebFileProperties
[<GuidAttribute("899456B4-E5AD-49EF-AB04-1CED913A6E44")>]
type WebFileProperties2 =  
    interface
        interface WebFileProperties
    end
public interface WebFileProperties2 extends WebFileProperties

WebFileProperties2 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 __id 基礎架構。取得預設屬性。 (繼承自 WebFileProperties)。
公用屬性 __id 基礎架構。
公用屬性 AutoRefreshPath 取得或設定網站 Bin 組件 (Assembly) 的自動重新整理路徑。 (繼承自 WebFileProperties)。
公用屬性 AutoRefreshPath
公用屬性 CustomTool 取得或設定與 Web 檔案相關聯之自訂工具的程式識別項。自訂工具會以所表示的 Web 檔案為輸入資料,並寫入另一個新的檔案。
公用屬性 CustomToolNamespace 取得或設定所產生之檔案的預設命名空間。
公用屬性 CustomToolOutput 取得與這個網站檔案相關聯之自訂工具的輸出檔名稱 (不包括路徑)。
公用屬性 Extender[String] 取得擴充的 Web 檔案屬性。 (繼承自 WebFileProperties)。
公用屬性 Extender[String]
公用屬性 ExtenderCATID 取得物件的擴充項分類 ID (CATID)。 (繼承自 WebFileProperties)。
公用屬性 ExtenderCATID
公用屬性 ExtenderNames 取得物件的可用擴充項清單。 (繼承自 WebFileProperties)。
公用屬性 ExtenderNames
公用屬性 Extension 取得檔案的副檔名。 (繼承自 WebFileProperties)。
公用屬性 Extension
公用屬性 FileName 取得或設定檔案的名稱,包括副檔名。 (繼承自 WebFileProperties)。
公用屬性 FileName
公用屬性 FullPath 取得檔案之本機複本的完整路徑。 (繼承自 WebFileProperties)。
公用屬性 FullPath
公用屬性 IsCustomToolOutput 取得值,表示 Web 檔案是否為自訂工具的輸出。
公用屬性 IsDependentFile 取得值,表示 Web 檔案是否為相依檔案。相依檔案是其他檔案的子系。
公用屬性 RelativeURL 取得相對於網站根目錄之檔案的 URL。 (繼承自 WebFileProperties)。
公用屬性 RelativeURL
公用屬性 URL 取得檔案的 URL。 (繼承自 WebFileProperties)。
公用屬性 URL

回頁首

備註

您可以從檔案的 Properties 集合存取 WebFileProperties2 物件。

自訂工具會在設計階段轉換檔案類型。

請參閱

參考

VsWebSite90 命名空間

WebFileProperties

CustomTool

RunCustomTool