SqlGeography.Lat 属性

Returns the latitude property of the geography instance.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public ReadOnly Property Lat As SqlDouble 
    Get
用法
Dim instance As SqlGeography 
Dim value As SqlDouble 

value = instance.Lat
public SqlDouble Lat { get; }
public:
property SqlDouble Lat {
    SqlDouble get ();
}
member Lat : SqlDouble
function get Lat () : SqlDouble

属性值

类型:System.Data.SqlTypes.SqlDouble
A SqlDouble value that specifies the latitude.

注释

In the OpenGIS model, Lat is defined only on geography instances composed of a single point. This property will return NULL if geography instances contain more than a single point. This property is precise and read-only.

请参阅

参考

SqlGeography 类

Microsoft.SqlServer.Types 命名空间