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
line
intIBookMark.Line to check.
group
intIBookMark.Group to check.
fileName
stringIBookMark.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
startPoint
PointThe Point value that specifies start position to find.
endPoint
PointThe Point value that specifies end position to find.
group
intIBookMark.Group to check.
fileName
stringIBookMark.FileName to check.
Returns
- int
IBookMark.Index if the bookmark was found; otherwise -1.