Delen via


ITypeParameterSymbol.Variance Property

Definition

The variance annotation, if any, of the type parameter declaration. Type parameters may be declared as covariant (out), contravariant (in), or neither.

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

Property Value

Applies to