Share via


ConstructorInvoker.Create(ConstructorInfo) Metoda

Definice

Vytvoří novou instanci položky ConstructorInvoker.

public:
 static System::Reflection::ConstructorInvoker ^ Create(System::Reflection::ConstructorInfo ^ constructor);
public static System.Reflection.ConstructorInvoker Create (System.Reflection.ConstructorInfo constructor);
static member Create : System.Reflection.ConstructorInfo -> System.Reflection.ConstructorInvoker
Public Shared Function Create (constructor As ConstructorInfo) As ConstructorInvoker

Parametry

constructor
ConstructorInfo

Konstruktor, který bude vyvolán.

Návraty

Nová instance.

Výjimky

The constructor není metoda založená na modulu runtime.

Poznámky

Kvůli výkonu by se výsledná instance měla ukládat do mezipaměti pro další volání.

Platí pro