DbGeography.Distance(DbGeography) 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.
Computes the distance between the closest points in this DbGeography value and another DbGeography value.
public:
Nullable<double> Distance(System::Data::Spatial::DbGeography ^ other);
public double? Distance (System.Data.Spatial.DbGeography other);
member this.Distance : System.Data.Spatial.DbGeography -> Nullable<double>
Public Function Distance (other As DbGeography) As Nullable(Of Double)
Parameters
- other
- DbGeography
The geography value for which the distance from this value should be computed.
Returns
A double value that specifies the distance between the two closest points in this geography value and other
.
Exceptions
other
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.