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