WebFileProperties2.CustomToolNamespace 屬性

 

發佈時間: 2016年4月

取得或設定所產生之檔案的預設命名空間。

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

語法

string CustomToolNamespace { get; set; }
property String^ CustomToolNamespace {
    String^ get();
    void set(String^ value);
}
abstract CustomToolNamespace : string with get, set
Property CustomToolNamespace As String

屬性值

Type: System.String

自訂工具使用的預設命名空間。

備註

請使用這個屬性指定自訂工具所產生之檔案的預設命名空間,例如 "ProjectName.FolderName"。

無法保證自訂工具將產生會使用此命名空間的程式碼。 會提供自訂的命名空間,讓工具可以將程式碼放入命名空間。 專案系統中無法強制自訂工具使用此命名空間。

這個屬性只對產生程式碼的自訂工具有意義。

請參閱

CustomTool
WebFileProperties2 介面
VsWebSite90 命名空間

回到頁首