Binder.InvokeMember Method

Definition

Initializes a new CSharp invoke member binder.

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

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ InvokeMember(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::String ^ name, System::Collections::Generic::IEnumerable<Type ^> ^ typeArguments, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder InvokeMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Collections.Generic.IEnumerable<Type> typeArguments, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder InvokeMember (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, string name, System.Collections.Generic.IEnumerable<Type>? typeArguments, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member InvokeMember : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * string * seq<Type> * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function InvokeMember (flags As CSharpBinderFlags, name As String, typeArguments As IEnumerable(Of Type), context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

Parameters

flags
CSharpBinderFlags

The flags with which to initialize the binder.

name
String

The name of the member to invoke.

typeArguments
IEnumerable<Type>

The list of type arguments specified for this invoke.

context
Type

The Type that indicates where this operation is used.

argumentInfo
IEnumerable<CSharpArgumentInfo>

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

Returns

A new CSharp invoke member binder.

Applies to