VCCodeUsingAlias.Namespace Property

Gets an object defining the namespace.

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

Syntax

'Declaration
ReadOnly Property Namespace As CodeNamespace
CodeNamespace Namespace { get; }
property CodeNamespace^ Namespace {
    CodeNamespace^ get ();
}
abstract Namespace : CodeNamespace with get
function get Namespace () : CodeNamespace

Property Value

Type: EnvDTE.CodeNamespace
A CodeNamespace object.

Remarks

This property returns Nothing or nulla null reference (Nothing in Visual Basic) for types declared at the top level in a file or for a default or global namespace.

.NET Framework Security

See Also

Reference

VCCodeUsingAlias Interface

Microsoft.VisualStudio.VCCodeModel Namespace