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
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
HRESULT __stdcall get_Namespace(
   /* [out, retval] */ CodeNamespace** retVal
CodeNamespace Namespace {get;}
[JScript .NET]
public function get Namespace() : CodeNamespace

Return Value

Returns a CodeNameSpace object.


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

© 2015 Microsoft