Binder.IsEvent(CSharpBinderFlags, String, Type) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.
Restituisce
Nuovo gestore di associazione degli eventi is di CSharp.