CharacterRange.op_Equality

CharacterRange Equality operator

Compares two CharacterRange objects. Gets a value indicating whether the First and Length values of the two CharacterRange objects are equal.

public static bool operator ==(CharacterRange cr1, CharacterRange cr2)
ParameterTypeDescription
cr1CharacterRangeA CharacterRange to compare for equality.
cr2CharacterRangeA CharacterRange to compare for equality.

Return Value

true to indicate the two CharacterRange objects have the same First and Length values; otherwise, false.

See Also