Executable.GetGenericParameterTypes 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 that represent the formal
parameter types, in declaration order, of the executable represented by
this object.
[Android.Runtime.Register("getGenericParameterTypes", "()[Ljava/lang/reflect/Type;", "GetGetGenericParameterTypesHandler", ApiSince=26)]
public virtual Java.Lang.Reflect.IType[] GetGenericParameterTypes ();
[<Android.Runtime.Register("getGenericParameterTypes", "()[Ljava/lang/reflect/Type;", "GetGetGenericParameterTypesHandler", ApiSince=26)>]
abstract member GetGenericParameterTypes : unit -> Java.Lang.Reflect.IType[]
override this.GetGenericParameterTypes : unit -> Java.Lang.Reflect.IType[]
Returns
an array of Type
s that represent the formal
parameter types of the underlying executable, in declaration order
- Attributes
Remarks
Returns an array of Type
objects that represent the formal parameter types, in declaration order, of the executable represented by this object. Returns an array of length 0 if the underlying executable takes no parameters.
If a formal parameter type is a parameterized type, the Type
object returned for it must accurately reflect the actual type parameters used in the source code.
If a formal parameter type is a type variable or a parameterized type, it is created. Otherwise, it is resolved.
Java documentation for java.lang.reflect.Executable.getGenericParameterTypes()
.
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.