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 安全性

请参见

参考

WebFileProperties2 接口

VsWebSite90 命名空间

CustomTool