Replace Method
Namespace: Microsoft.VisualStudio.Data.Tools.Delta.VSDelta
Assembly: Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)
Syntax
'Declaration
Public Function Replace ( _
pszSearch As String, _
pszReplace As String, _
grfOptions As UInteger, _
fResetStartPoint As Integer, _
pHelper As IVsFindHelper, _
<OutAttribute> ByRef pfReplaced As Integer _
) As Integer
'Usage
Dim instance As DiffViewerCodeWindow
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 = instance.Replace(pszSearch, _
pszReplace, grfOptions, fResetStartPoint, _
pHelper, pfReplaced)
public int Replace(
string pszSearch,
string pszReplace,
uint grfOptions,
int fResetStartPoint,
IVsFindHelper pHelper,
out int pfReplaced
)
public:
virtual int Replace(
String^ pszSearch,
String^ pszReplace,
unsigned int grfOptions,
int fResetStartPoint,
IVsFindHelper^ pHelper,
[OutAttribute] int% pfReplaced
) sealed
abstract Replace :
pszSearch:string *
pszReplace:string *
grfOptions:uint32 *
fResetStartPoint:int *
pHelper:IVsFindHelper *
pfReplaced:int byref -> int
override Replace :
pszSearch:string *
pszReplace:string *
grfOptions:uint32 *
fResetStartPoint:int *
pHelper:IVsFindHelper *
pfReplaced:int byref -> int
public final function Replace(
pszSearch : String,
pszReplace : String,
grfOptions : uint,
fResetStartPoint : int,
pHelper : IVsFindHelper,
pfReplaced : int
) : int
Parameters
- pszSearch
Type: System..::..String
- pszReplace
Type: System..::..String
- grfOptions
Type: System..::..UInt32
- fResetStartPoint
Type: System..::..Int32
- pHelper
Type: IVsFindHelper
- pfReplaced
Type: System..::..Int32%
Return Value
Type: System..::..Int32
Implements
IVsFindTargetReplace(String, String, UInt32, Int32, IVsFindHelper, Int32%)