InvokeMember Method
Collapse the table of content
Expand the table of content

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

 

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

Initializes a new CSharp invoke member binder.

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

public static CallSiteBinder InvokeMember(
	CSharpBinderFlags flags,
	string name,
	IEnumerable<Type> typeArguments,
	Type context,
	IEnumerable<CSharpArgumentInfo> argumentInfo
)

Parameters

flags
Type: Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags

The flags with which to initialize the binder.

name
Type: System.String

The name of the member to invoke.

typeArguments
Type: System.Collections.Generic.IEnumerable<Type>

The list of type arguments specified for this invoke.

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 invoke member binder.

Universal Windows Platform
Available since 4.5
.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:
© 2016 Microsoft