UtilSearchIndexerAddDirectoryRule(String, Boolean) Method
Adds the specified directory path to Windows Search Index.
Namespace: DevCase.ThirdParty.MicrosoftSearchIndexerAssembly: DevCase.net48.ThirdParty.MicrosoftSearchIndexer (in DevCase.net48.ThirdParty.MicrosoftSearchIndexer.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void AddDirectoryRule(
string directoryPathOrPattern,
bool include
)
Public Shared Sub AddDirectoryRule (
directoryPathOrPattern As String,
include As Boolean
)
Dim directoryPathOrPattern As String
Dim include As Boolean
UtilSearchIndexer.AddDirectoryRule(directoryPathOrPattern,
include)
public:
static void AddDirectoryRule(
String^ directoryPathOrPattern,
bool include
)
static member AddDirectoryRule :
directoryPathOrPattern : string *
include : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- directoryPathOrPattern String
-
The directory path (or a directory path pattern with wildcards) to be indexed.
- include Boolean
- if this directory should be included in all searches;
otherwise, .
This is a code example.
No code example is currently available or this language may not be supported.
Dim directoryPath As String = "C:\Games\"
SearchIndexerUtil.AddDirectoryRule(directoryPath, include:=True)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.