Class RegistryAccessHelper
Inheritance
System.Object
RegistryAccessHelper
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class RegistryAccessHelper : Object
Constructors
RegistryAccessHelper()
Declaration
public RegistryAccessHelper()
Methods
GetValueFrom(RegistryKey, String, String, out Boolean, Boolean, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out bool destination, bool defaultValue, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.Boolean |
destination |
|
| System.Boolean |
defaultValue |
|
| System.Boolean |
bThrowException |
|
GetValueFrom(RegistryKey, String, String, out Object, Object, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out object destination, object defaultValue, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.Object |
destination |
|
| System.Object |
defaultValue |
|
| System.Boolean |
bThrowException |
|
GetValueFrom(RegistryKey, String, String, out String, String, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out string destination, string defaultValue, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.String |
destination |
|
| System.String |
defaultValue |
|
| System.Boolean |
bThrowException |
|
GetValueFrom(RegistryKey, String, String, out UInt64, UInt64, Boolean)
Declaration
public static void GetValueFrom(RegistryKey key, string subkey, string valueName, out ulong destination, ulong defaultValue, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.UInt64 |
destination |
|
| System.UInt64 |
defaultValue |
|
| System.Boolean |
bThrowException |
|
PersistValueAt(RegistryKey, String, String, Boolean, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, bool source, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.Boolean |
source |
|
| System.Boolean |
bThrowException |
|
PersistValueAt(RegistryKey, String, String, Object, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, object source, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.Object |
source |
|
| System.Boolean |
bThrowException |
|
PersistValueAt(RegistryKey, String, String, String, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, string source, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.String |
source |
|
| System.Boolean |
bThrowException |
|
PersistValueAt(RegistryKey, String, String, UInt64, Boolean)
Declaration
public static void PersistValueAt(RegistryKey key, string subkey, string valueName, ulong source, bool bThrowException)
Parameters
| Type |
Name |
Description |
| Microsoft.Win32.RegistryKey |
key |
|
| System.String |
subkey |
|
| System.String |
valueName |
|
| System.UInt64 |
source |
|
| System.Boolean |
bThrowException |
|