Share via


TextBuffer.matchLen Method

Definition

Returns the string length of the first match in the TextBuffer object.

public:
 virtual int matchLen();
public virtual int matchLen ();
abstract member matchLen : unit -> int
override this.matchLen : unit -> int
Public Overridable Function matchLen () As Integer

Returns

The length of the match that is found; 0 (zero) if no match is found.

Remarks

This method is used as part of a text search (see the find method).

Applies to