次の方法で共有


Class.GetDeclaredConstructor(Class[]) Method

Definition

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

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

Parameters

parameterTypes
Class[]

the parameter array

Returns

The Constructor object for the constructor with the specified parameter list

Attributes

Remarks

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