共用方式為


IPropertySymbol.GetMethod 屬性

定義

屬性的 'get' 存取子,如果屬性是唯讀的,則為 null。

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

屬性值

適用於