Class.GetConstructor(Class[]) Method

Definition

Returns a Constructor object that reflects the specified public constructor of the class represented by this Class object.

[Android.Runtime.Register("getConstructor", "([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;", "")]
public Java.Lang.Reflect.Constructor GetConstructor (params Java.Lang.Class[]? parameterTypes);
[<Android.Runtime.Register("getConstructor", "([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;", "")>]
member this.GetConstructor : Java.Lang.Class[] -> Java.Lang.Reflect.Constructor

Parameters

parameterTypes
Class[]

the parameter array

Returns

the Constructor object of the public constructor that matches the specified parameterTypes

Attributes

Remarks

Java documentation for java.lang.Class.getConstructor(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