Share via


SqlGeometry.HasZ Property

Returns true if at least one point in a spatial object contains value Z; otherwise returns false. This property is read-only.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
Public ReadOnly Property HasZ As Boolean
    Get
'Usage
Dim instance As SqlGeometry
Dim value As Boolean

value = instance.HasZ
public bool HasZ { get; }
public:
property bool HasZ {
    bool get ();
}
member HasZ : bool
function get HasZ () : boolean

Property Value

Type: System.Boolean
true if at least one point in a spatial object contains value Z; otherwise false.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace