UtilEnvironmentPathContainsDirectory Method
Determines whether the PATH registry value contains the specified directory.
Namespace: DevCase.Core.Windows.RegistryAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool ContainsDirectory(
RegistryScope scope,
string directory
)
Public Shared Function ContainsDirectory (
scope As RegistryScope,
directory As String
) As Boolean
Dim scope As RegistryScope
Dim directory As String
Dim returnValue As Boolean
returnValue = UtilEnvironmentPath.ContainsDirectory(scope,
directory)
public:
static bool ContainsDirectory(
RegistryScope scope,
String^ directory
)
static member ContainsDirectory :
scope : RegistryScope *
directory : string -> bool
No code example is currently available or this language may not be supported.
- scope RegistryScope
-
The registry scope.
- directory String
-
The directory path to examine.
Boolean if it contains the specified directory;
otherwise.