Condividi tramite


Binder.IsEvent(CSharpBinderFlags, String, Type) Metodo

Definizione

Inizializza un nuovo gestore di associazione degli eventi is di CSharp.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ IsEvent(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::String ^ name, Type ^ context);
public static System.Runtime.CompilerServices.CallSiteBinder IsEvent (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, Type context);
public static System.Runtime.CompilerServices.CallSiteBinder IsEvent (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, Type? context);
static member IsEvent : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * string * Type -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function IsEvent (flags As CSharpBinderFlags, name As String, context As Type) As CallSiteBinder

Parametri

flags
CSharpBinderFlags

Flag con cui inizializzare il gestore di associazione.

name
String

Nome dell'evento di cui eseguire la ricerca.

context
Type

Oggetto Type che indica il contesto in cui viene utilizzata l'operazione.

Restituisce

Nuovo gestore di associazione degli eventi is di CSharp.

Si applica a