Freigeben über


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

Name Value Description
None 0

Invariant.

Out 1

Covariant (out).

In 2

Contravariant (in).

Applies to