語言

TypeParameterKind 列舉

定義

表示不同類型的類型參數。

public enum class TypeParameterKind
public enum TypeParameterKind
type TypeParameterKind = 
Public Enum TypeParameterKind
繼承
TypeParameterKind

欄位

名稱 值 Description
Cref 2

在 XML 檔批註的屬性中 cref 輸入參數。 例如: T 在 中 <see cref="List{T}"/> 。

Method 1

方法的類型參數。 例如: T 在 中 void M<T>() 。

Type 0

具名型別的類型參數。 例如: T 在 中 List<T> 。

適用於