Share via


VarianceKind Enum

Definition

An enumeration declaring the kinds of variance supported for generic type parameters.

public enum class VarianceKind
public enum VarianceKind
type VarianceKind = 
Public Enum VarianceKind
Inheritance
VarianceKind

Fields

In 2

Contravariant (in).

None 0

Invariant.

Out 1

Covariant (out).

Applies to