Share via


Binder Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Contains factory methods to create dynamic call site binders for CSharp.

Inheritance Hierarchy

System.Object
  Microsoft.CSharp.RuntimeBinder.Binder

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

Syntax

'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public NotInheritable Class Binder
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class Binder

The Binder type exposes the following members.

Methods

  Name Description
Public methodStatic member BinaryOperation Initializes a new CSharp binary operation binder.
Public methodStatic member Convert Initializes a new CSharp convert binder.
Public methodStatic member GetIndex Initializes a new CSharp get index binder.
Public methodStatic member GetMember Initializes a new CSharp get member binder.
Public methodStatic member Invoke Initializes a new CSharp invoke binder.
Public methodStatic member InvokeConstructor Initializes a new CSharp invoke constructor binder.
Public methodStatic member InvokeMember Initializes a new CSharp invoke member binder.
Public methodStatic member IsEvent Initializes a new CSharp is event binder.
Public methodStatic member SetIndex Initializes a new CSharp set index binder.
Public methodStatic member SetMember Initializes a new CSharp set member binder.
Public methodStatic member UnaryOperation Initializes a new CSharp unary operation binder.

Top

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.