.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

BookmarkCollection.Create Method

Name Parameters Description
Create(DocumentPosition, Int32, String) start, length, name

Creates a bookmark with the specified name for the range that starts at the specified position and has the specified length and adds it to the collection.

Create(DocumentRange, String) range, name

Creates a bookmark for the specified range with the specified name and adds it to the collection.