Operator operator ==
operator ==(ColorStruct, ColorStruct)
Tests whether two specified ColorStruct structures are equivalent.
public static bool operator ==(ColorStruct left, ColorStruct right)
Parameters
leftColorStructThe Color that is to the left of the equality operator.
rightColorStructThe Color that is to the right of the equality operator.
Returns
- bool
trueif the two ColorStruct structures are equal; otherwise,false.