Z 属性

Gets the Z (elevation) value of the instance. The semantics of the elevation value are user-defined.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public ReadOnly Property Z As SqlDouble
    Get
用法
Dim instance As SqlGeometry
Dim value As SqlDouble

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

属性值

类型:System.Data.SqlTypes. . :: . .SqlDouble
A SqlDouble value that represents the elevation of the instance.

注释

The value of this property will be null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) if the SqlGeometry instance is not a point, as well as for any Point instance for which it is not set.

This property is read-only.

Z-coordinates are not used in any calculations made by the library and is not carried through any library calculations.