This documentation is archived and is not being maintained.
BinaryOp Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents the base class for classes that perform operations on two operands, such as Plus, Equality, and Relational. This class belongs to the abstract syntax tree category.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
The BinaryOp type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetOperator | Determines the best method to call based on the operation that is requested and the data types of the operands. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | operand1 | Represents the first operand of the operation. |
![]() | operand2 | Represents the second operand of the operation. |
![]() | operatorMeth | Represents the operation that is actually performed. |
![]() | operatorTok | Represents the operation that is requested. One of the JSToken enumeration values. |
![]() | type1 | Represents the data type of the first operand of the operation. |
![]() | type2 | Represents the data type of the second operand of the operation. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
