TextSelection::ReplaceText Method (String^, String^, Int32)

 

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 ReplaceText(
	String^ Pattern,
	String^ Replace,
	int vsFindOptionsValue = 0
)

Parameters

Pattern
Type: System::String^

The pattern to find.

Replace
Type: System::String^

The string with which to replace the found text.

vsFindOptionsValue
Type: System::Int32

The find flags.

Return Value

Type: System::Boolean

true if the text was replaced, otherwise false.

Return to top
Show: