共用方式為


WebFileProperties2.IsDependentFile 屬性

取得值,表示 Web 檔案是否為相依檔案。 相依檔案是其他檔案的子系。

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

語法

'宣告
ReadOnly Property IsDependentFile As Boolean
    Get
bool IsDependentFile { get; }
property bool IsDependentFile {
    bool get ();
}
abstract IsDependentFile : bool
function get IsDependentFile () : boolean

屬性值

型別:System.Boolean
如果 Web 檔案是相依檔案,則為 true,否則為 false。

備註

相依檔案的範例是 .aspx 檔的程式碼後置檔案。 在 [方案總管] 中,相依檔案會以其他檔案的子項目表示。

.NET Framework 安全性

請參閱

參考

WebFileProperties2 介面

VsWebSite90 命名空間

CustomTool