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.

适用于