Size.Equality Operator (Size, Size)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Compares two instances of Size for equality.

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

Public Shared Operator = (
	size1 As Size,
	size2 As Size
) As Boolean

Parameters

size1
Type: System.Windows.Size

The first instance of Size to compare.

size2
Type: System.Windows.Size

The second instance of Size to compare.

Return Value

Type: System.Boolean

true if the two instances of Size are equal; otherwise false.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: