[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.op_Equality

operator == Operator

operator ==(Length, Length)

Determines if two Length value values are equal.

Declaration
public static bool operator ==(Length unit1, Length unit2)
Parameters
Type Name Description
Length unit1

A first Length value to compare.

Length unit2

A second Length value to compare.

Returns
Type Description
bool

A bool value. true if the two lengths are equal; otherwise, false.

Examples
var length1 = new Length("1in");
var length2 = new Length("1in");
bool result = length1 == length2; // true