Color.Equality Operator

July 28, 2014

Tests whether two Color structures are identical.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Shared Operator = ( _
	color1 As Color, _
	color2 As Color _
) As Boolean

Parameters

color1
Type: System.Windows.Media.Color
The first Color structure to compare.
color2
Type: System.Windows.Media.Color
The second Color structure to compare.

Return Value

Type: System.Boolean
true if color1 and color2 are exactly identical; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft