Muokkaa

Jaa


BinaryOp.GetOperator(IReflect, IReflect) Method

Definition

Determines the best method to call based on the operation that is requested and the data types of the operands.

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

protected:
 System::Reflection::MethodInfo ^ GetOperator(System::Reflection::IReflect ^ ir1, System::Reflection::IReflect ^ ir2);
protected System.Reflection.MethodInfo GetOperator (System.Reflection.IReflect ir1, System.Reflection.IReflect ir2);
member this.GetOperator : System.Reflection.IReflect * System.Reflection.IReflect -> System.Reflection.MethodInfo
Protected Function GetOperator (ir1 As IReflect, ir2 As IReflect) As MethodInfo

Parameters

ir1
IReflect

The data type of the first operand.

ir2
IReflect

The data type of the second operand.

Returns

The recommended method to call on the operands.

Applies to

See also