Share via


SqlGeometry.STX Property

Gets the X-coordinate property of a Point instance.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
Public ReadOnly Property STX As SqlDouble
    Get
'Usage
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

Property Value

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

Remarks

The value of this property will be nulla null reference (Nothing in Visual Basic) if the SqlGeometry instance is not a point.

This property is read-only.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace