BookmarksOutlineLevelCollection

BookmarksOutlineLevelCollection

Overview

BookmarksOutlineLevelCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<KeyValuePair<string, int>>.

A collection of individual bookmarks outline level.

This class provides 7 methods for working with BookmarksOutlineLevelCollection objects in .NET programs. Available methods include: Add, Clear, Contains, GetEnumerator, IndexOfKey, Remove, RemoveAt. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadGets the number of elements contained in the collection.

Methods

SignatureDescription
Add(name: string, outlineLevel: int)Adds a bookmark to the collection.
Contains(name: string)Determines whether the collection contains a bookmark with the given name.
IndexOfKey(name: string)Returns the zero-based index of the specified bookmark in the collection.
Remove(name: string)Removes a bookmark with the specified name from the collection.
RemoveAt(index: int)Removes a bookmark at the specified index.
Clear()Removes all elements from the collection.
GetEnumerator()Returns an enumeratoriteratorenumerator object that can be used to iterate over all items in the collection.

See Also