Share via


TypeParameterSyntax.VarianceKeyword Property

Definition

Represents the "In" or "Out" variance keyword on a type parameter, if present. If no variance modifier was present, Nothing is returned.

public:
 property Microsoft::CodeAnalysis::SyntaxToken VarianceKeyword { Microsoft::CodeAnalysis::SyntaxToken get(); };
public Microsoft.CodeAnalysis.SyntaxToken VarianceKeyword { get; }
member this.VarianceKeyword : Microsoft.CodeAnalysis.SyntaxToken
Public ReadOnly Property VarianceKeyword As SyntaxToken

Property Value

Remarks

This child is optional. If it is not present, then Nothing is returned.

Applies to