MethodInvoker.Create(MethodBase) Metod

Definition

Skapar en ny instans av MethodInvoker.

public:
 static System::Reflection::MethodInvoker ^ Create(System::Reflection::MethodBase ^ method);
public static System.Reflection.MethodInvoker Create(System.Reflection.MethodBase method);
static member Create : System.Reflection.MethodBase -> System.Reflection.MethodInvoker
Public Shared Function Create (method As MethodBase) As MethodInvoker

Parametrar

method
MethodBase

Den metod som ska anropas.

Returer

Den nya instansen.

Undantag

method Är inte en körningsbaserad metod.

Kommentarer

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

Gäller för