MediaBookmarks.Add Method (PowerPoint)
Adds a new MediaBookmark at the specified time and using the specified name.
Version Information
Version Added: PowerPoint 2010
Syntax
expression .Add(Position, Name)
expression A variable that represents a MediaBookmarks object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Position |
Required |
Long |
The position of the MediaBookmark. |
Name |
Required |
String |
The name of the MediaBookmark. |
Return Value
MediaBookmark
Remarks
The collection is automatically re-sorted incrementally by time. This method returns an error if the bookmark already exists at that position, if the maximum number of bookmarks exceeds 512, or if the user tries to assign a name that has a length greater than 255 characters.