Click or drag to resize

Directions Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The Directions type exposes the following members.

Methods
  NameDescription
Public methodAdd(Direction)
Not supported in this class.
Public methodAdd(Object)
Not supported in this class.
Public methodAddTag
Insert a customized object somewhere along the route. For example a simple string comment could be added.
Public methodClear
Not supported in this class.
Public methodContains(Direction)
Gets whether or not these Directions contain the specified object.
Public methodContains(Object)
Gets whether or not these Directions contain the specified object.
Public methodCopyTo(Array, Int32)
Copies the contents of this collection to an array. See CopyTo(Array).
Public methodCopyTo(Direction, Int32)
Copies the contents of this collection to an array. See CopyTo(Array).
Public methodStatic memberDeserialize
Deserialize a Directions after it has previously been serialized using the Serialize method.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDirectionLinks
Get the DirectionLinks held by this Directions object
Public methodGetEnumerator
Returns an enumerator for this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStopToStopDistances
Gets the travel distances between each consecutive pair of stops.
Public methodGetStopToStopTimes
Gets the travel times between each consecutive pair of stops.
Public methodGetTotalDistance
Gets the total distance for this route in the specified DistanceUnit.
Public methodGetTotalTime
Get the total time for this set of directions.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(Direction)
Gets the index of the specified object.
Public methodIndexOf(Object)
Gets the index of the specified object.
Public methodInsert(Int32, Object)
Not supported in this class.
Public methodInsert(Int32, Direction)
Not supported in this class.
Public methodRemove(Direction)
Not supported in this class.
Public methodRemove(Object)
Not supported in this class.
Public methodRemoveAt
Not supported in this class.
Public methodRender
IMapRenderer support - renders a route on the map.
Public methodSerialize
Serialize the Directions to the supplied stream. The serialized Directions can be deserialized using the Deserialize method.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodZoomTo(IMap)
Zooms the given map to this driving route.
Public methodZoomTo(IMap, Int32)

Zooms the given map to this driving route, and ensures that there is a visible buffer of buffer pixels between the edge of the route and the edge of the map.

For example, setting buffer to 10 results in a map where the edges of this driving route are 10 pixels in from the edge of the map.

Top
See Also