UtilEnvironmentPathContainsExtension Method
Determines whether the PATHEXT registry value contains the specified file extension.
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 ContainsExtension(
RegistryScope scope,
string extension
)
Public Shared Function ContainsExtension (
scope As RegistryScope,
extension As String
) As Boolean
Dim scope As RegistryScope
Dim extension As String
Dim returnValue As Boolean
returnValue = UtilEnvironmentPath.ContainsExtension(scope,
extension)
public:
static bool ContainsExtension(
RegistryScope scope,
String^ extension
)
static member ContainsExtension :
scope : RegistryScope *
extension : string -> bool
No code example is currently available or this language may not be supported.
- scope RegistryScope
-
The registry scope.
- extension String
-
The file extension to examine.
Boolean if it contains the specified file extension;
otherwise.