Share via


LocationRectangle Class

Inheritance Hierarchy

System.Object
  Microsoft.Phone.Maps.Controls.LocationRectangle

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

'Declaration
<TypeConverterAttribute(GetType(LocationRectangleConverter))> _
Public Class LocationRectangle _
    Implements IFormattable, IEquatable(Of LocationRectangle)
[TypeConverterAttribute(typeof(LocationRectangleConverter))]
public class LocationRectangle : IFormattable, 
    IEquatable<LocationRectangle>
[TypeConverterAttribute(typeof(LocationRectangleConverter))]
public ref class LocationRectangle : IFormattable, 
    IEquatable<LocationRectangle^>
[<TypeConverterAttribute(typeof(LocationRectangleConverter))>]
type LocationRectangle =  
    class 
        interface IFormattable 
        interface IEquatable<LocationRectangle>
    end

The LocationRectangle type exposes the following members.

Constructors

  Name Description
Public method LocationRectangle()
Public method LocationRectangle(GeoCoordinate, GeoCoordinate)
Public method LocationRectangle(GeoCoordinate, Double, Double)
Public method LocationRectangle(Double, Double, Double, Double)

Top

Properties

  Name Description
Public property Center
Public property East
Public property HeightInDegrees
Public property North
Public property Northeast
Public property Northwest
Public property South
Public property Southeast
Public property Southwest
Public property West
Public property WidthInDegrees

Top

Methods

  Name Description
Public method Clone
Public methodStatic member CreateBoundingRectangle(array<GeoCoordinate[])
Public methodStatic member CreateBoundingRectangle(IEnumerable<GeoCoordinate>)
Public method Equals(LocationRectangle)
Public method Equals(Object) (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetIntersection
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Intersects
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString() (Overrides Object.ToString().)
Public method ToString(IFormatProvider)
Public method ToString(String, IFormatProvider)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

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.

See Also

Reference

Microsoft.Phone.Maps.Controls Namespace