Rect.Inequality operator

Applies to Windows and Windows Phone

Compares two Rect structures for inequality.

Syntax


public static bool operator !=(
  Rect rect1, 
  Rect rect2
)

Parameters

rect1

Type: Rect

The first Rect structure to compare.

rect2

Type: Rect

The second Rect structure to compare.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if rect1 and rect2 have different values; false if rect1 and rect2 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.Foundation
Windows::Foundation [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.dll

See also

Rect

 

 

Show:
© 2014 Microsoft