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)

public SqlDouble STX {
	[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]

Property Value

Type: System.Data.SqlTypes.SqlDouble

A SqlDouble value that represents the X-coordinate value of a point.

The value of this property will be null if the SqlGeometry instance is not a point.

This property is read-only.

Return to top