Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RootNamespace Property

Visual Studio .NET 2003

Returns or sets the namespace for items added through the Add New Item Dialog Box.

[Visual Basic .NET]
Public Property RootNamespace() As String
[Visual Basic 6]
Property Get RootNamespace() As String
Property Let RootNamespace( _
   ByVal NewValue As String _
) 
[C++]
HRESULT __stdcall get_RootNamespace(
   /* [out, retval] */ BSTR* retVal
);
HRESULT __stdcall put_RootNamespace(
   /* [in] */ BSTR NewValue
);
[C#]
string RootNamespace {get; set;}
[JScript .NET]
public function get RootNamespace() : String
public function set RootNamespace(
   NewValue : String
)

Parameters

NewValue
A string specifying the root namespace.

Remarks

This property provides the same functionality as the DefaultNamespace Property (Visual Basic and C# Project Object), and using the DefaultNamespace property is preferred for setting the namespace of new project items.

Example

See ProjectType Property.

See Also

General, Common Properties, <Projectname> Property Pages Dialog Box | General, Common Properties, <Projectname> Property Pages Dialog Box

Applies To: Properties Property (General Extensibility) | Properties Property (Visual Basic and Visual C# Project Object)

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.