Share via


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

Definição

Inicializa um novo associador CSharp é evento.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

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

Parâmetros

flags
CSharpBinderFlags

Os sinalizadores com os quais inicializar o associador.

name
String

O nome do evento a ser procurado.

context
Type

O Type que indica onde esta operação é usada.

Retornos

Um novo associador CSharp é evento.

Aplica-se a