Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ID
Top
Expand Minimize

NameSpace Property (General Extensibility)

Visual Studio .NET 2003

Returns an object defining the parent namespace.

[Visual Basic .NET]
Public ReadOnly Property Namespace() As CodeNamespace
[Visual Basic 6]
Property Get Namespace() As CodeNamespace
[C++]
HRESULT __stdcall get_Namespace(
   /* [out, retval] */ CodeNamespace** retVal
);
[C#]
CodeNamespace Namespace {get;}
[JScript .NET]
public function get Namespace() : CodeNamespace

Return Value

Returns a CodeNameSpace object.

Remarks

Returns the CodeNamespace object associated with this CodeType object. NameSpace returns Nothing for types declared at the top level in a file or for a default or global namespace.

See Also

Applies To: CodeClass Object | CodeDelegate Object | CodeEnum Object | CodeInterface Object | CodeStruct Object | CodeType Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeInterface Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeVariable Object

Show:
© 2015 Microsoft