Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function ReplaceText ( _
FindText As String, _
ReplaceText As String, _
Flags As Integer _
) As Boolean
bool ReplaceText(
string FindText,
string ReplaceText,
int Flags
)
bool ReplaceText(
[InAttribute] String^ FindText,
[InAttribute] String^ ReplaceText,
[InAttribute] int Flags
)
abstract ReplaceText :
FindText:string *
ReplaceText:string *
Flags:int -> bool
function ReplaceText(
FindText : String,
ReplaceText : String,
Flags : int
) : boolean
Parameters
- FindText
Type: System.String
The text to find.
- ReplaceText
Type: System.String
The replacement text.
- Flags
Type: System.Int32
Flags from vsFindOptions.
Return Value
Type: System.Boolean
true if the text was replaced, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.