Export (0) Print
Expand All

DbGeometry Properties

.NET Framework 4.5

The DbGeometry type exposes the following members.

  Name Description
Public property Area Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface.
Public property Boundary Gets the boundary of the DbGeometry objects.
Public property Centroid Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface.
Public property ConvexHull Gets the convex hull of this DbGeometry value as another DbGeometry value.
Public property CoordinateSystemId Gets the coordinate system identifier of the DbGeometry object.
Public property Static member DefaultCoordinateSystemId Gets the default coordinate system id (SRID) for geometry values.
Public property Dimension Gets the dimension of the given DbGeometry value or, if the value is a collection, the dimension of its largest element.
Public property ElementCount Gets the number of elements in this DbGeometry value, if it represents a geometry collection. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns>
Public property Elevation Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns>
Public property EndPoint Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve.
Public property Envelope Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value.
Public property ExteriorRing Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon.
Public property InteriorRingCount Gets the number of interior rings in this DbGeometry value, if it represents a polygon. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns>
Public property IsClosed Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve.
Public property IsEmpty Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve.
Public property IsRing Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve.
Public property IsSimple Gets a nullable Boolean value indicating whether this DbGeometry value is simple.
Public property IsValid Gets a nullable Boolean value indicating whether this DbGeometry value is valid.
Public property Length Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve.
Public property Measure Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns>
Public property PointCount Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns>
Public property PointOnSurface Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface.
Public property ProviderValue Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it.
Public property SpatialTypeName Gets a spatial type name representation of this DbGeometry value.
Public property StartPoint Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve.
Public property WellKnownValue Gets or sets a data contract serializable well known representation of this DbGeometry value.
Public property XCoordinate Gets the X coordinate of this DbGeometry value, if it represents a point. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns>
Public property YCoordinate Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns>
Top
Show:
© 2015 Microsoft