共用方式為


CSharpExtensions.VarianceKindFromToken(SyntaxToken) 方法

定義

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::VarianceKind VarianceKindFromToken(Microsoft::CodeAnalysis::SyntaxToken node);
public static Microsoft.CodeAnalysis.VarianceKind VarianceKindFromToken (this Microsoft.CodeAnalysis.SyntaxToken node);
static member VarianceKindFromToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VarianceKind
<Extension()>
Public Function VarianceKindFromToken (node As SyntaxToken) As VarianceKind

參數

傳回

適用於