VCCodeClass.Namespace Property

 

Gets an object defining the parent namespace.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

CodeNamespace Namespace { get; }

Property Value

Type: EnvDTE.CodeNamespace

A CodeNamespace object.

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

Return to top
Show: