共用方式為


SqlGeometry.STX 屬性

Gets the X-coordinate property of a Point instance.

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

語法

'宣告
Public ReadOnly Property STX As SqlDouble 
    Get
'用途
Dim instance As SqlGeometry 
Dim value As SqlDouble 

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

屬性值

型別:System.Data.SqlTypes.SqlDouble
A SqlDouble value that represents the X-coordinate value of a point.

備註

The value of this property will be nullnull 參考 (在 Visual Basic 中為 Nothing) if the SqlGeometry instance is not a point.

This property is read-only.

請參閱

參考

SqlGeometry 類別

Microsoft.SqlServer.Types 命名空間