LocationRectangle 类

继承层次结构

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

命名空间:  Microsoft.Phone.Maps.Controls
程序集:  Microsoft.Phone.Maps(在 Microsoft.Phone.Maps.dll 中)

语法

声明
<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

LocationRectangle 类型公开以下成员。

构造函数

  名称 说明
公共方法 LocationRectangle()
公共方法 LocationRectangle(GeoCoordinate, GeoCoordinate)
公共方法 LocationRectangle(GeoCoordinate, Double, Double)
公共方法 LocationRectangle(Double, Double, Double, Double)

页首

属性

  名称 说明
公共属性 Center
公共属性 East
公共属性 HeightInDegrees
公共属性 North
公共属性 Northeast
公共属性 Northwest
公共属性 South
公共属性 Southeast
公共属性 Southwest
公共属性 West
公共属性 WidthInDegrees

页首

方法

  名称 说明
公共方法 Clone
公共方法静态成员 CreateBoundingRectangle(array<GeoCoordinate[])
公共方法静态成员 CreateBoundingRectangle(IEnumerable<GeoCoordinate>)
公共方法 Equals(LocationRectangle)
公共方法 Equals(Object) (重写 Object.Equals(Object)。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode (重写 Object.GetHashCode()。)
公共方法 GetIntersection
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 Intersects
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString() (重写 Object.ToString()。)
公共方法 ToString(IFormatProvider)
公共方法 ToString(String, IFormatProvider)

页首

版本信息

适用于 Windows Phone 应用的 .NET

受以下版本支持:Windows Phone 8、Silverlight 8.1

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Phone.Maps.Controls 命名空间