Compares two System.Web.UI.WebControls.Unit objects to determine whether they are equal.
- left
- The System.Web.UI.WebControls.Unit on the left side of the operator.
- right
- The System.Web.UI.WebControls.Unit on the right side of the operator.
true if both System.Web.UI.WebControls.Unit objects are equal; otherwise, false.
Use this operator to compare two System.Web.UI.WebControls.Unit objects for equality. For both objects to be equal, they must have the same values for both the Unit.Type and Unit.Value properties.