Поделиться через


Hyperlink.AddToFavorites Method

Adds a shortcut that represents the specified hyperlink's target document to the Favorites folder in the Windows folder.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub AddToFavorites
'Usage
Dim instance As Hyperlink

instance.AddToFavorites()
void AddToFavorites()

Remarks

The shortcut name is the display name of the document, if that is available; otherwise, the shortcut name is as calculated in HLINK.DLL.

See Also

Reference

Hyperlink Interface

Hyperlink Members

Microsoft.Office.Interop.PowerPoint Namespace