Size.Equality operator

Applies to Windows and Windows Phone

Compares two Size structures for equality.

Syntax


public static bool operator ==(
  Size size1, 
  Size size2
)

Parameters

size1

Type: Size

The first Size structure to compare.

size2

Type: Size

The second Size structure to compare.

Return value

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

true if all values of size1 and size2 are equal; otherwise, false.

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

Size

 

 

Show:
© 2014 Microsoft