Condividi tramite


VisualBasicExtensions.GetAliasInfo Metodo

Definizione

Se "nameSyntax" viene risolto in un nome alias, restituire aliasSymbol corrispondente a A. In caso contrario, restituisce Null.

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

Parametri

semanticModel
SemanticModel
cancellationToken
CancellationToken

Restituisce

Si applica a