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
- pszSearch
Type: System.String
- pszReplace
Type: System.String
- grfOptions
Type: System.UInt32
- fResetStartPoint
Type: System.Int32
- pHelper
Type: Microsoft.VisualStudio.TextManager.Interop.IVsFindHelper
- pfReplaced
Type: System.Int32%
Return Value
Type: System.Int32
Implements
IVsFindTarget.Replace(String, String, UInt32, Int32, IVsFindHelper, Int32%)
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace