ISymbol.ContainingType Property

Definition

Gets the INamedTypeSymbol for the containing type. Returns null if the symbol is not contained within a type.

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

Property Value

Applies to