Share via


LocationRect.Equality Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Determines whether two location rectangle instances are equal.

Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)

Usage

Syntax

'Declaration
Public Shared Operator = ( _
    rect1 As LocationRect, _
    rect2 As LocationRect _
) As Boolean
public static bool operator == (
    LocationRect rect1,
    LocationRect rect2
)
public:
static bool operator == (
    LocationRect^ rect1, 
    LocationRect^ rect2
)

Parameters

  • rect1
    The first location rectangle to compare.
  • rect2
    The second location rectangle to compare.

Return Value

Returns Boolean.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

LocationRect Class
LocationRect Members
Microsoft.Maps.MapControl Namespace