Method GetBookMark
GetBookMark(int, int, string)
Finds the first bookmark in the collection appropriate specified conditions.
public int GetBookMark(int line, int group, string fileName)
Parameters
lineintIBookMark.Line to check.
groupintIBookMark.Group to check.
fileNamestringIBookMark.FileName to check.
Returns
- int
IBookMark.Index if the bookmark was found; otherwise -1.
GetBookMark(Point, Point, int, string)
Finds the first bookmark in the collection appropriate specified conditions.
public int GetBookMark(Point startPoint, Point endPoint, int group, string fileName)
Parameters
startPointPointThe Point value that specifies start position to find.
endPointPointThe Point value that specifies end position to find.
groupintIBookMark.Group to check.
fileNamestringIBookMark.FileName to check.
Returns
- int
IBookMark.Index if the bookmark was found; otherwise -1.