Partage via


Binder.BinaryOperation Méthode

Définition

Initialise un nouveau classeur d'opérations binaires CSharp.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

flags
CSharpBinderFlags

Indicateurs avec lesquels initialiser le classeur.

operation
ExpressionType

Type d'opération binaire.

context
Type

Type qui indique où cette opération est utilisée.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Séquence d'instances CSharpArgumentInfo pour les arguments de cette opération.

Retours

Nouveau classeur d’opérations binaires CSharp.

S’applique à