Condividi tramite


ConstructorInvoker.Create(ConstructorInfo) Metodo

Definizione

Crea una nuova istanza di 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

Parametri

constructor
ConstructorInfo

Costruttore che verrà richiamato.

Restituisce

Nuova istanza.

Eccezioni

Non constructor è un metodo basato su runtime.

Commenti

Per le prestazioni, l'istanza risultante deve essere memorizzata nella cache per chiamate aggiuntive.

Si applica a