Aracılığıyla paylaş


ISymbol.ContainingNamespace Property

Definition

Gets the INamespaceSymbol for the nearest enclosing namespace. Returns null if the symbol isn't contained in a namespace.

public:
 property Microsoft::CodeAnalysis::INamespaceSymbol ^ ContainingNamespace { Microsoft::CodeAnalysis::INamespaceSymbol ^ get(); };
public Microsoft.CodeAnalysis.INamespaceSymbol ContainingNamespace { get; }
member this.ContainingNamespace : Microsoft.CodeAnalysis.INamespaceSymbol
Public ReadOnly Property ContainingNamespace As INamespaceSymbol

Property Value

Applies to