共用方式為


Long 屬性

Returns the longitude property of the geography instance.

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
Public ReadOnly Property Long As SqlDouble
    Get
'用途
Dim instance As SqlGeography
Dim value As SqlDouble

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

屬性值

型別:System.Data.SqlTypes. . :: . .SqlDouble
A SqlDouble value that specifies the longitude.

備註

In the OpenGIS model, Long 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.