GenericTypeParameterBuilder.GetGenericArguments GenericTypeParameterBuilder.GetGenericArguments GenericTypeParameterBuilder.GetGenericArguments GenericTypeParameterBuilder.GetGenericArguments Method

定义

对于泛型类型参数无效。Not valid for generic type parameters.

public:
 override cli::array <Type ^> ^ GetGenericArguments();
public override Type[] GetGenericArguments ();
override this.GetGenericArguments : unit -> Type[]
Public Overrides Function GetGenericArguments () As Type()

返回

Type[]

对于泛型类型参数无效。Not valid for generic type parameters.

异常

注解

在构造类型中,分配给泛型类型参数的类型可以是泛型类型,但类型参数本身不是泛型类型。In a constructed type, the type that is assigned to a generic type parameter can be a generic type, but the type parameter itself is not generic.

适用于