Version

TextSearchCriteria Constructor(String,Boolean,Boolean,Boolean)

Initializes a new TextSearchCriteria
Syntax
'Declaration
 
Public Function New( _
   ByVal textToFind As String, _
   Optional ByVal wholeWordOnly As Boolean, _
   Optional ByVal isCaseSensitive As Boolean, _
   Optional ByVal searchBackwards As Boolean _
)
public TextSearchCriteria( 
   string textToFind,
   bool wholeWordOnly,
   bool isCaseSensitive,
   bool searchBackwards
)

Parameters

textToFind
The text to search for.
wholeWordOnly
If true bypass partial word matches.
isCaseSensitive
If true will match only if the case matches.
searchBackwards
If true will serach up in the document.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also