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