Muokkaa

Jaa


Binder.IsEvent(CSharpBinderFlags, String, Type) Method

Definition

Initializes a new CSharp is event binder.

This API supports the product infrastructure and is not intended to be used directly from your 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

Parameters

flags
CSharpBinderFlags

The flags with which to initialize the binder.

name
String

The name of the event to look for.

context
Type

The Type that indicates where this operation is used.

Returns

A new CSharp is event binder.

Applies to