ITextSearchNavigator.Replace Method
Replaces the current result with the ReplaceTerm.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function Replace As Boolean
bool Replace()
bool Replace()
abstract Replace : unit -> bool
function Replace() : boolean
Return Value
Type: Boolean
Returns true if the replacement succeeded; otherwise returns 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.