Android Guides | Samples

Java.Lang.Reflect.IGenericDeclaration.GetTypeParameters Method

Returns the declared type parameters in declaration order.

Syntax

[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 ITypeVariable[] GetTypeParameters ()

Exceptions

TypeReason
GenericSignatureFormatErrorif the signature is malformed

Remarks

Returns the declared type parameters in declaration order. If there are no type parameters, this method returns a zero length array.

[Android Documentation]

Requirements

Namespace: Java.Lang.Reflect
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1