DbSpatialServices.GetLength Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a nullable double value that indicates the length of the given value.
Overloads
GetLength(DbGeography) |
Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve. |
GetLength(DbGeometry) |
Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve. |
GetLength(DbGeography)
Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.
public:
abstract Nullable<double> GetLength(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract double? GetLength (System.Data.Spatial.DbGeography geographyValue);
abstract member GetLength : System.Data.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetLength (geographyValue As DbGeography) As Nullable(Of Double)
Parameters
- geographyValue
- DbGeography
The geography value, which need not represent a curve.
Returns
The length of the given DbGeography value.
Exceptions
geographyValue
geographyValue
Applies to
GetLength(DbGeometry)
Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.
public:
abstract Nullable<double> GetLength(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract double? GetLength (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetLength : System.Data.Spatial.DbGeometry -> Nullable<double>
Public MustOverride Function GetLength (geometryValue As DbGeometry) As Nullable(Of Double)
Parameters
- geometryValue
- DbGeometry
The geometry value, which need not represent a curve.
Returns
The length of the given DbGeometry value.
Exceptions
geometryValue
geometryValue
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για