Freigeben über


Class.GetTypeParameters Method

Definition

Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order.

[Android.Runtime.Register("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;", "")]
public Java.Lang.Reflect.ITypeVariable[] GetTypeParameters ();
[<Android.Runtime.Register("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;", "")>]
abstract member GetTypeParameters : unit -> Java.Lang.Reflect.ITypeVariable[]
override this.GetTypeParameters : unit -> Java.Lang.Reflect.ITypeVariable[]

Returns

an array of TypeVariable objects that represent the type variables declared by this generic declaration

Implements

Attributes

Remarks

Returns an array of TypeVariable objects that represent the type variables declared by the generic declaration represented by this GenericDeclaration object, in declaration order. Returns an array of length 0 if the underlying generic declaration declares no type variables.

Added in 1.5.

Java documentation for java.lang.Class.getTypeParameters().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to