IGenericDeclaration.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:Java.Lang.Reflect.IGenericDeclarationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Reflect.ITypeVariable[] GetTypeParameters ();
[<Android.Runtime.Register("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;", "GetGetTypeParametersHandler:Java.Lang.Reflect.IGenericDeclarationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetTypeParameters : unit -> Java.Lang.Reflect.ITypeVariable[]

Returns

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

Attributes

Exceptions

if the signature is malformed

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.GenericDeclaration.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