This document is archived and information here might be outdated.  Recommended version.


IMapBookmarks.AddBookmark Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapBookmarks.AddBookmark Method

Adds a bookmark to the collection.

[Visual Basic .NET]
Public Sub AddBookmark ( _
    ByVal bookmark As ISpatialBookmark _
)
[C#]
public void AddBookmark (
    ISpatialBookmark bookmark
);
[C++]
HRESULT AddBookmark(
  ISpatialBookmark* bookmark
);
[C++]

Parameters bookmark [in]
bookmark is a parameter of type ISpatialBookmark

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapBookmarks Interface

.NET Snippets

Create Spatial Bookmark for ActiveView Extent

.NET Related Topics

How to create AOIs and bookmarks