Share via


FindNearbyCategory.DistanceUnit Property

Passed to the Microsof0® MapPoint® Web Service Find service when a call to the FindNearby method is made. This property is not used directly to retrieve Find Nearby categories.

Public Property DistanceUnit As MapPoint DistanceUnit
[C#]
public property MapPoint DistanceUnit DistanceUnit

Remarks

This property is expressed in either miles or kilometers and takes the DistanceUnit type that is generated by the MapPoint Web Service proxy class.

For more information, see DistanceUnit Enumeration.

If you are working with the Location Web Service, this property appears as a public field. In addition, the value is not set in the constructor because the FindNearbyCategory class that you access from the Web Service proxy class does not implement properties or constructors (because it is generated from a WSDL document).

See Also

FindNearbyCategory Class  |  FindNearbyCategory Members  |  Microsoft.MapPoint.LocationServer.Types