共用方式為


CSharpExtensions.GetIndexerGroup 方法

定義

傳回可使用指定運算式做為接收者叫用之可存取的非隱藏索引子清單。

public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol> GetIndexerGroup (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default);
public static System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol> GetIndexerGroup (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, System.Threading.CancellationToken cancellationToken = default);
static member GetIndexerGroup : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * System.Threading.CancellationToken -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.IPropertySymbol>
<Extension()>
Public Function GetIndexerGroup (semanticModel As SemanticModel, expression As ExpressionSyntax, Optional cancellationToken As CancellationToken = Nothing) As ImmutableArray(Of IPropertySymbol)

參數

semanticModel
SemanticModel
expression
ExpressionSyntax
cancellationToken
CancellationToken

傳回

適用於