Share via


WebFileProperties2.CustomToolNamespace Property

Get or sets the default namespace for the generated files.

Namespace:  VsWebSite90
Assembly:  VsWebSite.Interop90 (in VsWebSite.Interop90.dll)

Syntax

'Declaration
Property CustomToolNamespace As String
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)

Property Value

Type: String
The default namespace used by the custom tool.

Remarks

Use this property to specify the default namespace, such as "ProjectName.FolderName", for the files that are generated by the custom tool.

There is no guarantee that the custom tool will generate code that uses this namespace. The custom namespace is provided so that the tool can have a namespace to put code in. There is nothing in the project system to enforce the use of this namespace by the custom tool.

This property is only meaningful for custom tools that generate code.

.NET Framework Security

See Also

Reference

WebFileProperties2 Interface

VsWebSite90 Namespace

CustomTool