BookmarksOutlineLevelCollection.IndexOfKey

BookmarksOutlineLevelCollection IndexOfKey method. Returns the zerobased index of the specified bookmark in the collection.

BookmarksOutlineLevelCollection.IndexOfKey method

Returns the zero-based index of the specified bookmark in the collection.

public int IndexOfKey(string name)
ParameterTypeDescription
nameStringThe case-insensitive name of the bookmark.

Return Value

The zero based index. Negative value if not found.

See Also