AddFavorite MethodAddFavorite Method*
*



Contents  *



Index  *Topic Contents
*Previous Topic: AddDesktopComponent Method
*Next Topic: IsSubscribed Method

AddFavorite Method

Description

Displays the default user interface for creating a favorite item to be displayed. The user interface will be initialized to the specified parameters.

Syntax

object.AddFavorite URL, [Title]

ParameterDescription
object Required. An object expression that evaluates to a ShellUIHelper object.
URL Required. A string value that specifies the URL of the item to be added to the Favorites folder.
Title Optional. A string value that specifies the name of the item.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.