This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapBookmarks Interface > IMapBookmarks.AddBookmark Method (ArcObjects .NET 10.4 SDK) |
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