指定網站內部檔案所支援的屬性。 這個介面會擴充 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 物件。
自訂工具會在設計階段轉換檔案類型。
.gif)