Type.IsGenericTypeParameter 屬性

定義

取得值,指出目前的 Type 是否在泛型型別的定義中代表型別參數。

public:
 virtual property bool IsGenericTypeParameter { bool get(); };
public virtual bool IsGenericTypeParameter { get; }
member this.IsGenericTypeParameter : bool
Public Overridable ReadOnly Property IsGenericTypeParameter As Boolean

屬性值

Boolean

true 如果 Type 物件代表泛型型別定義的型別參數,則為,否則為 false

適用於