Share via


BaseEditorPane.IVsFindTarget.Replace Method

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Private Function Replace ( _
    pszSearch As String, _
    pszReplace As String, _
    grfOptions As UInteger, _
    fResetStartPoint As Integer, _
    pHelper As IVsFindHelper, _
    <OutAttribute> ByRef pfReplaced As Integer _
) As Integer Implements IVsFindTarget.Replace
'Usage
Dim instance As BaseEditorPane
Dim pszSearch As String
Dim pszReplace As String
Dim grfOptions As UInteger
Dim fResetStartPoint As Integer
Dim pHelper As IVsFindHelper
Dim pfReplaced As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsFindTarget).Replace(pszSearch, _
    pszReplace, grfOptions, fResetStartPoint, _
    pHelper, pfReplaced)
int IVsFindTarget.Replace(
    string pszSearch,
    string pszReplace,
    uint grfOptions,
    int fResetStartPoint,
    IVsFindHelper pHelper,
    out int pfReplaced
)
private:
virtual int Replace(
    String^ pszSearch, 
    String^ pszReplace, 
    unsigned int grfOptions, 
    int fResetStartPoint, 
    IVsFindHelper^ pHelper, 
    [OutAttribute] int% pfReplaced
) sealed = IVsFindTarget::Replace
JScript does not support explicit interface implementations.
private abstract Replace : 
        pszSearch:string * 
        pszReplace:string * 
        grfOptions:uint32 * 
        fResetStartPoint:int * 
        pHelper:IVsFindHelper * 
        pfReplaced:int -> int 
private override Replace : 
        pszSearch:string * 
        pszReplace:string * 
        grfOptions:uint32 * 
        fResetStartPoint:int * 
        pHelper:IVsFindHelper * 
        pfReplaced:int -> int 

Parameters

Return Value

Type: System.Int32

Implements

IVsFindTarget.Replace(String, String, UInt32, Int32, IVsFindHelper, Int32%)

.NET Framework Security

See Also

Reference

BaseEditorPane Class

BaseEditorPane Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace