ISymbol.ContainingNamespace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.