TypeInfo.GenericTypeParameters 屬性

定義

取得目前執行個體之泛型類型的陣列。Gets an array of the generic type parameters of the current instance.

public:
 virtual property cli::array <Type ^> ^ GenericTypeParameters { cli::array <Type ^> ^ get(); };
public virtual Type[] GenericTypeParameters { get; }
member this.GenericTypeParameters : Type[]
Public Overridable ReadOnly Property GenericTypeParameters As Type()

屬性值

Type[]

陣列,其中包含目前執行個體的泛型型別參數,或如果目前的執行個體沒有泛型型別參數,則為 Length 零的陣列。An array that contains the current instance's generic type parameters, or an array of Length zero if the current instance has no generic type parameters.

適用於