VisualBasicExtensions.GetCollectionRangeVariableSymbolInfo 方法

定义

返回与 CollectionRangeVariableSyntax 关联的方法的相关信息。

public static Microsoft.CodeAnalysis.VisualBasic.CollectionRangeVariableSymbolInfo GetCollectionRangeVariableSymbolInfo (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax variableSyntax, System.Threading.CancellationToken cancellationToken = default);
static member GetCollectionRangeVariableSymbolInfo : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.VisualBasic.CollectionRangeVariableSymbolInfo
<Extension()>
Public Function GetCollectionRangeVariableSymbolInfo (semanticModel As SemanticModel, variableSyntax As CollectionRangeVariableSyntax, Optional cancellationToken As CancellationToken = Nothing) As CollectionRangeVariableSymbolInfo

参数

semanticModel
SemanticModel
cancellationToken
CancellationToken

返回

适用于