UtilSearchIndexerAddDirectoryRule(DirectoryInfo, 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(
DirectoryInfo directory,
bool include
)
Public Shared Sub AddDirectoryRule (
directory As DirectoryInfo,
include As Boolean
)
Dim directory As DirectoryInfo
Dim include As Boolean
UtilSearchIndexer.AddDirectoryRule(directory,
include)
public:
static void AddDirectoryRule(
DirectoryInfo^ directory,
bool include
)
static member AddDirectoryRule :
directory : DirectoryInfo *
include : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- directory DirectoryInfo
-
The directory path 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 directory As New DirectoryInfo("C:\Games\")
SearchIndexerUtil.AddDirectoryRule(directory, 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.