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