Performs a find/replace operation on this object, and all of its decendants (if it has any descendants).

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public int Replace(
	FindReplaceTypes findReplaceType,
	string findWhat,
	string replaceWith,
	bool matchCase,
	bool matchWholeWord,
	bool searchHiddenText
)
Visual Basic
Public Function Replace ( _
	findReplaceType As FindReplaceTypes, _
	findWhat As String, _
	replaceWith As String, _
	matchCase As Boolean, _
	matchWholeWord As Boolean, _
	searchHiddenText As Boolean _
) As Integer
JScript
public function Replace(
	findReplaceType : FindReplaceTypes, 
	findWhat : String, 
	replaceWith : String, 
	matchCase : boolean, 
	matchWholeWord : boolean, 
	searchHiddenText : boolean
) : int

Parameters

findReplaceType
Type: Ico.Gwx..::..FindReplaceTypes
The type find/replace operation to perform. You can combine multiple options.
findWhat
Type: System..::..String
The text to find (may include wildcards).
replaceWith
Type: System..::..String
The text to insert in place of the found text.
matchCase
Type: System..::..Boolean
True if the found text must have matching character casing.
matchWholeWord
Type: System..::..Boolean
True if only whole words should be matched.
searchHiddenText
Type: System..::..Boolean
True if hidden properties should be included in the search.

Return Value

The number of replacements made.

See Also