VisualBasicExtensions.GetCollectionRangeVariableSymbolInfo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与 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
- variableSyntax
- CollectionRangeVariableSyntax
- cancellationToken
- CancellationToken