WebFileProperties2.CustomToolNamespace 屬性
取得或設定所產生之檔案的預設命名空間。
命名空間: VsWebSite90
組件: VsWebSite.Interop90 (在 VsWebSite.Interop90.dll 中)
語法
'宣告
Property CustomToolNamespace As String
Get
Set
string CustomToolNamespace { get; set; }
property String^ CustomToolNamespace {
String^ get ();
void set (String^ value);
}
abstract CustomToolNamespace : string with get, set
function get CustomToolNamespace () : String
function set CustomToolNamespace (value : String)
屬性值
型別:System.String
自訂工具使用的預設命名空間。
備註
請使用這個屬性指定自訂工具所產生之檔案的預設命名空間,例如 "ProjectName.FolderName"。
無法保證自訂工具將產生會使用此命名空間的程式碼。 會提供自訂的命名空間,讓工具可以將程式碼放入命名空間。 專案系統中無法強制自訂工具使用此命名空間。
這個屬性只對產生程式碼的自訂工具有意義。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。