Поделиться через


Свойство SqlGeometry.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 в Visual Basic) 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.

См. также

Справочник

SqlGeometry Класс

Пространство имен Microsoft.SqlServer.Types