Udostępnij za pośrednictwem


TypeParameterKind Enum

Definition

Represents the different kinds of type parameters.

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

Fields

Name Value Description
Type 0

Type parameter of a named type. For example: T in List<T>.

Method 1

Type parameter of a method. For example: T in void M<T>().

Cref 2

Type parameter in a cref attribute in XML documentation comments. For example: T in <see cref="List{T}"/>.

Applies to