Partager via


SyntaxFacts.VarianceKindFromToken(SyntaxToken) Method

Definition

public:
 static Microsoft::CodeAnalysis::VarianceKind VarianceKindFromToken(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.VarianceKind VarianceKindFromToken (Microsoft.CodeAnalysis.SyntaxToken token);
static member VarianceKindFromToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VarianceKind
Public Shared Function VarianceKindFromToken (token As SyntaxToken) As VarianceKind

Parameters

token
SyntaxToken

Returns

Applies to