TextBuffer::Find Method (String^, Int32, Int32, Int32, Int32, Boolean, Boolean, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

bool Find(
	String^ Target,
	int% StartLine,
	int% StartColumn,
	int% EndLine,
	int% EndColumn,
	bool WholeWord = false,
	bool MatchCase = false,
	bool PatternSearch = false
)

Parameters

Target
Type: System::String^

The string to find.

StartLine
Type: System::Int32

The line from which to start.

StartColumn
Type: System::Int32

The column from which to start.

EndLine
Type: System::Int32

The line at which to stop.

EndColumn
Type: System::Int32

The column at which to stop.

WholeWord
Type: System::Boolean

true if the find operation should match on a word, otherwise false.

MatchCase
Type: System::Boolean

true if the find operation should match the case of the target, otherwise false.

PatternSearch
Type: System::Boolean

true if the find operation should match the target pattern, otherwise false.

Return Value

Type: System::Boolean

true if the find operation found the string, otherwise false.

Return to top
Show: