Share via


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

'Déclaration
Function Replace As Boolean
bool Replace()
bool Replace()
abstract Replace : unit -> bool 
function Replace() : boolean

Return Value

Type: System.Boolean
Returns true if the replacement succeeded; otherwise returns false.

.NET Framework Security

See Also

Reference

ITextSearchNavigator Interface

Microsoft.VisualStudio.Text.Operations Namespace