Type.IsGenericTypeParameter 屬性

定義

取得值,指出目前的 Type 是否在泛型型別的定義中代表型別參數。Gets a value that indicates whether the current Type represents a type parameter in the definition of a generic 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 物件代表泛型型別定義的型別參數,則為,否則為 falsetrue if the Type object represents a type parameter of a generic type definition; otherwise, false.

適用於