ITypeVariable.GetBounds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an array of Type
objects representing the
upper bound(s) of this type variable.
[Android.Runtime.Register("getBounds", "()[Ljava/lang/reflect/Type;", "GetGetBoundsHandler:Java.Lang.Reflect.ITypeVariableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Reflect.IType[] GetBounds ();
[<Android.Runtime.Register("getBounds", "()[Ljava/lang/reflect/Type;", "GetGetBoundsHandler:Java.Lang.Reflect.ITypeVariableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBounds : unit -> Java.Lang.Reflect.IType[]
Returns
an array of Type
s representing the upper
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 upper bound(s) of this type variable. If no upper bound is explicitly declared, the upper bound is Object
.
For each upper 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.TypeVariable.getBounds()
.
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.