SPFieldGeolocationValue 成员

表示字段值类为 GeolocationField (点的地理类型)。

SPFieldGeolocationValue 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPFieldGeolocationValue() SPFieldGeolocationValue 类的新实例进行初始化。
公共方法 SPFieldGeolocationValue(String) 基于指定的字段值的SPFieldGeolocationValue类的新实例进行初始化。
公共方法 SPFieldGeolocationValue(Double, Double) 使用纬度和经度值SPFieldGeolocationValue类的新实例进行初始化。
公共方法 SPFieldGeolocationValue(Double, Double, Double, Double) 初始化、 纬度、 海拔高度和度量值与SPFieldGeolocationValue类的一个新实例。

页首

属性

  名称 说明
公共属性 Altitude 获取或设置地理位置字段中的高度值。
公共属性 Latitude 获取或设置地理位置字段中的纬度值。
公共属性 Longitude 获取或设置地理位置字段中的经度值。
公共属性 Measure 获取或设置地理位置字段中的度量值。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString 作为公认的文本格式返回地理位置值。 (覆盖 Object.ToString()。)

页首

另请参阅

引用

SPFieldGeolocationValue 类

Microsoft.SharePoint 命名空间