TextBuffer.matchPos Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the character position of the first occurrence of the search string in the TextBuffer object.
public:
virtual int matchPos();
public virtual int matchPos ();
abstract member matchPos : unit -> int
override this.matchPos : unit -> int
Public Overridable Function matchPos () As Integer
Returns
The position at which the match is found; 0 (zero) if no match is found.
Remarks
This method is used as part of a text search (see the find method).