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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.