Partage via


Binder.IsEvent(CSharpBinderFlags, String, Type) Méthode

Définition

Initialise un nouveau classeur d'événements CSharp.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

flags
CSharpBinderFlags

Indicateurs avec lesquels initialiser le classeur.

name
String

Nom de l'événement à rechercher.

context
Type

Type qui indique où cette opération est utilisée.

Retours

Nouveau classeur d’événements CSharp.

S’applique à