MethodType.AppendParameterTypes 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.
Overloads
AppendParameterTypes(Class[]) |
Finds or creates a method type with additional parameter types. |
AppendParameterTypes(IList<Class>) |
Finds or creates a method type with additional parameter types. |
AppendParameterTypes(Class[])
Finds or creates a method type with additional parameter types.
[Android.Runtime.Register("appendParameterTypes", "([Ljava/lang/Class;)Ljava/lang/invoke/MethodType;", "", ApiSince=26)]
public Java.Lang.Invoke.MethodType? AppendParameterTypes (params Java.Lang.Class[]? ptypesToInsert);
[<Android.Runtime.Register("appendParameterTypes", "([Ljava/lang/Class;)Ljava/lang/invoke/MethodType;", "", ApiSince=26)>]
member this.AppendParameterTypes : Java.Lang.Class[] -> Java.Lang.Invoke.MethodType
Parameters
- ptypesToInsert
- Class[]
zero or more new parameter types to insert after the end of the parameter list
Returns
the same type, except with the selected parameter(s) appended
- Attributes
Remarks
Java documentation for java.lang.invoke.MethodType.appendParameterTypes(java.lang.Class)
.
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
AppendParameterTypes(IList<Class>)
Finds or creates a method type with additional parameter types.
[Android.Runtime.Register("appendParameterTypes", "(Ljava/util/List;)Ljava/lang/invoke/MethodType;", "", ApiSince=26)]
public Java.Lang.Invoke.MethodType? AppendParameterTypes (System.Collections.Generic.IList<Java.Lang.Class>? ptypesToInsert);
[<Android.Runtime.Register("appendParameterTypes", "(Ljava/util/List;)Ljava/lang/invoke/MethodType;", "", ApiSince=26)>]
member this.AppendParameterTypes : System.Collections.Generic.IList<Java.Lang.Class> -> Java.Lang.Invoke.MethodType
Parameters
zero or more new parameter types to insert after the end of the parameter list
Returns
the same type, except with the selected parameter(s) appended
- Attributes
Remarks
Finds or creates a method type with additional parameter types. Convenience method for #methodType(java.lang.Class, java.lang.Class[]) methodType
.
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.