Color.op_Equality

Color Equality operator

Tests whether two specified Color structures are equivalent.

public static bool operator ==(Color left, Color right)
ParameterTypeDescription
leftColorThe Color that is to the left of the equality operator.
rightColorThe Color that is to the right of the equality operator.

Return Value

True if the two Color structures are equal; otherwise, false.

See Also