Windows Dev Center

Color.Inequality operator

Compares two Color structures for inequality.

Syntax


public static bool operator !=(
  Color color1, 
  Color color2
)

Parameters

color1

Type: Color

The first Color structure to compare.

color2

Type: Color

The second Color structure to compare.

Return value

Type: System.Boolean

true if color1 and color2 have different values; false if color1 and color2 have the same values.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI

Assembly

System.Runtime.WindowsRuntime.dll

See also

Color

 

 

Show:
© 2015 Microsoft