共用方式為


ModelExtensions.GetMemberGroup 方法

定義

取得語法節點的方法或索引屬性符號清單。

public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol> GetMemberGroup (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.SyntaxNode node, System.Threading.CancellationToken cancellationToken = default);
static member GetMemberGroup : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.SyntaxNode * System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ISymbol>
<Extension()>
Public Function GetMemberGroup (semanticModel As SemanticModel, node As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of ISymbol)

參數

semanticModel
SemanticModel
node
SyntaxNode

要取得語意資訊的語法節點。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於