SyntaxFacts.VarianceKindFromToken(SyntaxToken) 方法

定义

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

参数

token
SyntaxToken

返回

适用于