Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TextSelection.ReplaceText Method

This API supports the .NET Framework 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
)

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.