Compartir a través de


SqlGeography.Z Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
Public ReadOnly Property Z As SqlDouble 
    Get
'Uso
Dim instance As SqlGeography 
Dim value As SqlDouble 

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

Valor de la propiedad

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

Comentarios

The value of this property is null if the geography 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 are not carried through any library calculations.

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types