Share via


Location.Equals Method

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

Determines whether this location is the same as the given object.

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

Usage

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")> _
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
[SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] 
public override bool Equals (
    Object obj
)
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1800:DoNotCastUnnecessarily")] 
public:
virtual bool Equals (
    Object^ obj
) override
/** @attribute SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily") */ 
public boolean Equals (
    Object obj
)
SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily") 
public override function Equals (
    obj : Object
) : boolean

Parameters

  • obj
    The object to use.

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

Location Class
Location Members
Microsoft.Maps.MapControl Namespace