Udostępnij za pośrednictwem


IWildcardType.GetLowerBounds Method

Definition

Returns an array of Type objects representing the lower bound(s) of this type variable.

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

Returns

IType[]

an array of Types representing the lower bound(s) of this type variable

Attributes

Exceptions

if any of the bounds points to a missing type

if any of the bounds points to a type that cannot be instantiated for some reason

Remarks

Returns an array of Type objects representing the lower bound(s) of this type variable. If no lower bound is explicitly declared, the lower bound is the type of null. In this case, a zero length array is returned.

For each lower bound B : <ul> <li>if B is a parameterized type or a type variable, it is created, (see java.lang.reflect.ParameterizedType ParameterizedType for the details of the creation process for parameterized types). <li>Otherwise, B is resolved. </ul>

Java documentation for java.lang.reflect.WildcardType.getLowerBounds().

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