共用方式為


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 命名空間