IsEvent Method

Binder.IsEvent Method

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new CSharp is event binder.

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

'Declaration
Public Shared Function IsEvent ( _
	flags As CSharpBinderFlags, _
	name As String, _
	context As Type _
) As CallSiteBinder

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft