Udostępnij za pośrednictwem


Binder.BinaryOperation Metoda

Definicja

Inicjuje nowy binder operacji binarnej CSharp.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ BinaryOperation(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::Linq::Expressions::ExpressionType operation, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member BinaryOperation : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * System.Linq.Expressions.ExpressionType * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function BinaryOperation (flags As CSharpBinderFlags, operation As ExpressionType, context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

Parametry

flags
CSharpBinderFlags

Flagi, za pomocą których należy zainicjować powiązanie.

operation
ExpressionType

Rodzaj operacji binarnej.

context
Type

Oznacza Type to, gdzie jest używana ta operacja.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Sekwencja CSharpArgumentInfo wystąpień dla argumentów tej operacji.

Zwraca

Nowy binder operacji binarnej CSharp.

Dotyczy