Method FindBookMark
FindBookMark(int)
When implemented by a class, finds the bookmark with specified Index property within bookmark collection.
IBookMark FindBookMark(int bookMark)
Parameters
bookMark
intSpecifies bookmark Index.
Returns
- IBookMark
IBookMark
object found.
FindBookMark(int, int)
When implemented by a class, finds the bookmark with specified Index in a specific line within bookmark collection.
IBookMark FindBookMark(int bookMark, int line)
Parameters
Returns
- IBookMark
IBookMark
object found.
FindBookMark(string)
When implemented by a class, finds the bookmark with specified Name property within bookmark collection.
IBookMark FindBookMark(string name)
Parameters
name
stringSpecifies bookmark name.
Returns
- IBookMark
IBookMark
object found.
FindBookMark(int, out Point)
When implemented by a class, finds the bookmark with specified Index property within bookmark collection.
bool FindBookMark(int bookMark, out Point position)
Parameters
bookMark
intSpecifies bookmark index.
position
PointReceives position(index of character and line) of the found bookmark.
Returns
- bool
True if the bookmark successfully found; otherwise false.