共用方式為


ILabelSymbol.ContainingMethod Property

Definition

Gets the immediately containing IMethodSymbol of this ILocalSymbol.

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

Property Value

Applies to