Microsoft SDK for Java

AddFavorite

This method of the IShellUIHelper interface displays the default user interface for creating a favorite, which is initialized using the specified parameters.

Syntax

public void AddFavorite(java.lang.String URL, com.ms.com.Variant Title);

Parameters

URL The string value that contains the URL.
Title The string value that contains the name to be associated with the URL. You may pass an empty string.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.