This documentation is archived and is not being maintained.

Binder Class

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.

System::Object
  Microsoft.CSharp.RuntimeBinder::Binder

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

public ref class Binder abstract sealed

The Binder type exposes the following members.

  NameDescription
Public methodStatic memberBinaryOperationInitializes a new CSharp binary operation binder.
Public methodStatic memberConvertInitializes a new CSharp convert binder.
Public methodStatic memberGetIndexInitializes a new CSharp get index binder.
Public methodStatic memberGetMemberInitializes a new CSharp get member binder.
Public methodStatic memberInvokeInitializes a new CSharp invoke binder.
Public methodStatic memberInvokeConstructorInitializes a new CSharp invoke constructor binder.
Public methodStatic memberInvokeMemberInitializes a new CSharp invoke member binder.
Public methodStatic memberIsEventInitializes a new CSharp is event binder.
Public methodStatic memberSetIndexInitializes a new CSharp set index binder.
Public methodStatic memberSetMemberInitializes a new CSharp set member binder.
Public methodStatic memberUnaryOperationInitializes a new CSharp unary operation binder.
Top

The C# runtime binder does not exploit the L2 DLR cache.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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