ConstructorInvoker.Create(ConstructorInfo) Metod

Definition

Skapar en ny instans av 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

Parametrar

constructor
ConstructorInfo

Konstruktorn som ska anropas.

Returer

Den nya instansen.

Undantag

constructor Är inte en körningsbaserad metod.

Kommentarer

För prestanda ska den resulterande instansen cachelagras för ytterligare anrop.

Gäller för