_Presentation.AddToFavorites Method

Adds a shortcut that represents the current selection in the specified presentation to the Windows Favorites 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 _Presentation

instance.AddToFavorites()
void AddToFavorites()

Remarks

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

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace