Returns the distance (in meters) from the receiver’s location to the specified location. (Deprecated. Use the distanceFromLocation: method instead.)
Original signature is '- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual double GetDistanceFrom( CLLocation location )
Public Overridable Function GetDistanceFrom ( _ location As CLLocation _ ) As Double
public: virtual double GetDistanceFrom( CLLocation^ location )
Parameters
- location (CLLocation)
- The other location.
Return Value
The distance (in meters) between the two locations.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)