File Search Library
SearchString Property



KellermanSoftware.FileSearchLibrary Namespace > SearchParms Class : SearchString Property
The string to search for inside a file. SearchString is required except when the SearchExpressionType is FilesOnly or DirectoriesOnly
Syntax
'Declaration
 
Public Property SearchString As String
'Usage
 
Dim instance As SearchParms
Dim value As String
 
instance.SearchString = value
 
value = instance.SearchString
public string SearchString {get; set;}
public:
property String^ SearchString {
   String^ get();
   void set (    String^ value);
}
Remarks
When SearchExpressionType is FilesOnly or DirectoriesOnly it will match the file name or directory name. The Search String is a boolean expression in that case. Example: log or logs
Requirements

Target Platforms: Windows 7, 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

Reference

SearchParms Class
SearchParms Members