Click or drag to resize

FindByText Constructor

Create an instance that finds the specified text string using the specified parameters.

Namespace:  Nova.Analysis
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public FindByText(
	string targetText,
	CodeObject scope,
	bool matchCase = true,
	bool matchWholeWord = true,
	bool useRegularExpressions = false
)

Parameters

targetText
Type: SystemString
The targeted text.
scope
Type: Nova.CodeDOMCodeObject
The scope, or starting object, of the search.
matchCase (Optional)
Type: SystemBoolean
True if case must match.
matchWholeWord (Optional)
Type: SystemBoolean
True if matches must be whole words (delimited by other than A-Za-z0-9).
useRegularExpressions (Optional)
Type: SystemBoolean
True if regular expressions are being used.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if targetText is null or an empty string.
See Also