Binder.IsEvent Method (CSharpBinderFlags, String, Type)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new CSharp is event binder.

Namespace:   Microsoft.CSharp.RuntimeBinder
Assembly:  Microsoft.CSharp (in Microsoft.CSharp.dll)

public static CallSiteBinder IsEvent(
	CSharpBinderFlags flags,
	string name,
	Type context
)

Parameters

flags
Type: Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags

The flags with which to initialize the binder.

name
Type: System.String

The name of the event to look for.

context
Type: System.Type

The Type that indicates where this operation is used.

Return Value

Type: System.Runtime.CompilerServices.CallSiteBinder

Returns a new CSharp is event binder.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: