Binder.GetIndex Method (CSharpBinderFlags, Type, IEnumerable<CSharpArgumentInfo>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Initializes a new CSharp get index binder.

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

public static CallSiteBinder GetIndex(
	CSharpBinderFlags flags,
	Type context,
	IEnumerable<CSharpArgumentInfo> argumentInfo
)

Parameters

flags
Type: Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags

The flags with which to initialize the binder.

context
Type: System.Type

The Type that indicates where this operation is used.

argumentInfo
Type: System.Collections.Generic.IEnumerable<CSharpArgumentInfo>

The sequence of CSharpArgumentInfo instances for the arguments to this operation.

Return Value

Type: System.Runtime.CompilerServices.CallSiteBinder

Returns a new CSharp get index 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: