A TomTom Favorite location.
| C# | Visual Basic |
public class Favorite
Public Class Favorite
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Favorite(LatLong) |
Initialize a new instance of Favorite.
| |
| Favorite(String, LatLong) |
Initialize a new instance of Favorite.
| |
| Favorite(String, String, LatLong) |
Initialize a new instance of Favorite.
| |
| Description |
Description of favorite.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| LatLong |
Gets or sets the location co-ordinates of the Favorite.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Name |
Name of favorite.
| |
| ToString()()() | (Inherited from Object.) |
Changes made to this data will not be automatically saved. To save a favorite assign it to a position within the FavoriteCollection.
Shows retrieving a Favorite, changing properties, and saving the Favorite.
CopyC#
CopyC#
[VB]
Dim f As Favorite = Navigator.GetFavorite(1)
f.Name = "Uncle Bob's House"
Navigator.SetFavorite(1, f)[C#]
Favorite f = Navigator.GetFavorite(1);
f.Name = "Uncle Bob's House";
Navigator.SetFavorite(1,f);| Object | |
| Favorite | |