Udostępnij za pośrednictwem


Executable.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;", "GetGetTypeParametersHandler", ApiSince=26)]
public abstract Java.Lang.Reflect.ITypeVariable[] GetTypeParameters ();
[<Android.Runtime.Register("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;", "GetGetTypeParametersHandler", ApiSince=26)>]
abstract member 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.

Java documentation for java.lang.reflect.Executable.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