In The Hand
Favorite Class
NamespacesInTheHand.TomTomFavorite
.NET Components for Mobility
A TomTom Favorite location.
Declaration Syntax
C#Visual Basic
public class Favorite
Public Class Favorite
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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.
(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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
Changes made to this data will not be automatically saved. To save a favorite assign it to a position within the FavoriteCollection.
Examples
Shows retrieving a Favorite, changing properties, and saving the Favorite.
CopyC#
[VB]
            Dim f As Favorite = Navigator.GetFavorite(1)
            f.Name = "Uncle Bob's House"
            Navigator.SetFavorite(1, f)
CopyC#
[C#]
            Favorite f = Navigator.GetFavorite(1);
            f.Name = "Uncle Bob's House";
            Navigator.SetFavorite(1,f);
Inheritance Hierarchy
Object
Favorite

Assembly: InTheHand.TomTom (Module: InTheHand.TomTom) Version: 6.3.0.0