UtilWinStartupRemove Method
Removes an application from Windows Startup through registry.
Namespace: DevCase.Core.Windows.ApplicationsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void Remove(
RegistryScope registryScope,
WinStartupScope startupScope,
RegistryView systemScope,
string title,
bool throwOnMissingValue = false
)
Public Shared Sub Remove (
registryScope As RegistryScope,
startupScope As WinStartupScope,
systemScope As RegistryView,
title As String,
Optional throwOnMissingValue As Boolean = false
)
Dim registryScope As RegistryScope
Dim startupScope As WinStartupScope
Dim systemScope As RegistryView
Dim title As String
Dim throwOnMissingValue As Boolean
UtilWinStartup.Remove(registryScope, startupScope,
systemScope, title, throwOnMissingValue)
public:
static void Remove(
RegistryScope registryScope,
WinStartupScope startupScope,
RegistryView systemScope,
String^ title,
bool throwOnMissingValue = false
)
static member Remove :
registryScope : RegistryScope *
startupScope : WinStartupScope *
systemScope : RegistryView *
title : string *
?throwOnMissingValue : bool
(* Defaults:
let _throwOnMissingValue = defaultArg throwOnMissingValue false
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- registryScope RegistryScope
-
The registry user scope.
- startupScope WinStartupScope
-
The win-startup key scope.
- systemScope RegistryView
-
The system-key scope.
- title String
-
The registry entry to find.
- throwOnMissingValue Boolean (Optional)
-
if set to , throws an exception on missing value.
This is a code example.
No code example is currently available or this language may not be supported.
WinStartup.Remove(RegistryScope.CurrentUser, WinStartupScope.Run, SystemScope.System32,
title:="Application Title",
throwOnMissingValue:=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.
ArgumentNullException
|
title
|
ArgumentException
|
Registry value not found.;title
|