Document.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)

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

Return Value

Type: System.Boolean
true if the text was replaced, otherwise false.

.NET Framework Security

See Also

Reference

Document Interface

EnvDTE Namespace