Aracılığıyla paylaş


IParameterizedType.GetActualTypeArguments Method

Definition

Returns an array of Type objects representing the actual type arguments to this type.

[Android.Runtime.Register("getActualTypeArguments", "()[Ljava/lang/reflect/Type;", "GetGetActualTypeArgumentsHandler:Java.Lang.Reflect.IParameterizedTypeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Reflect.IType[] GetActualTypeArguments ();
[<Android.Runtime.Register("getActualTypeArguments", "()[Ljava/lang/reflect/Type;", "GetGetActualTypeArgumentsHandler:Java.Lang.Reflect.IParameterizedTypeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetActualTypeArguments : unit -> Java.Lang.Reflect.IType[]

Returns

IType[]

an array of Type objects representing the actual type arguments to this type

Attributes

Exceptions

if one of the type arguments cannot be found

if one of the type arguments cannot be instantiated for some reason

Remarks

Returns an array of Type objects representing the actual type arguments to this type.

Note that in some cases, the returned array be empty. This can occur if this type represents a non-parameterized type nested within a parameterized type.

Added in 1.5.

Java documentation for java.lang.reflect.ParameterizedType.getActualTypeArguments().

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