Свойство | Тип | Описание | |
---|---|---|---|
ClosePerfDataKey | void | ||
CreateSubKeyInternalCore | |||
DeleteSubKeyCore | void | ||
DeleteSubKeyTreeCore | void | ||
DeleteValueCore | void | ||
FlushCore | void | ||
FromHandle | Microsoft.Win32.RegistryKey | ||
FromHandle | Microsoft.Win32.RegistryKey | ||
GetValueKindCore | RegistryValueKind | ||
GetValueNamesCore | string[] | ||
InternalGetSubKeyNamesCore | string[] | ||
InternalGetValueCore | object | ||
InternalOpenSubKeyCore | RegistryKey | ||
InternalSubKeyCountCore | int | ||
InternalValueCountCore | int | ||
IsWritable | bool | ||
OpenBaseKeyCore | RegistryKey | ||
OpenRemoteBaseKeyCore | RegistryKey | ||
RegistryKey | |||
SetValueCore | void | ||
Win32Error | void | ||
Win32ErrorStatic | void |
Метод | Описание | |
---|---|---|
CreateSubKey ( string subkey ) : Microsoft.Win32.RegistryKey | ||
CreateSubKey ( string subkey, bool writable ) : Microsoft.Win32.RegistryKey | ||
CreateSubKey ( string subkey, bool writable, Microsoft options ) : Microsoft.Win32.RegistryKey | ||
DeleteSubKey ( string subkey ) : void | ||
DeleteSubKey ( string subkey, bool throwOnMissingSubKey ) : void | ||
DeleteSubKeyTree ( string subkey ) : void | ||
DeleteSubKeyTree ( string subkey, bool throwOnMissingSubKey ) : void | ||
DeleteValue ( string name ) : void | ||
DeleteValue ( string name, bool throwOnMissingValue ) : void | ||
Dispose ( ) : void | ||
Flush ( ) : void | ||
GetSubKeyNames ( ) : string[] | ||
GetValue ( string name ) : object | ||
GetValue ( string name, object defaultValue ) : object | ||
GetValue ( string name, object defaultValue, Microsoft options ) : object | ||
GetValueKind ( string name ) : Microsoft.Win32.RegistryValueKind | ||
GetValueNames ( ) : string[] | ||
OpenBaseKey ( Microsoft hKey, Microsoft view ) : Microsoft.Win32.RegistryKey | ||
OpenSubKey ( string name ) : Microsoft.Win32.RegistryKey | ||
OpenSubKey ( string name, System rights ) : Microsoft.Win32.RegistryKey | ||
OpenSubKey ( string name, bool writable ) : Microsoft.Win32.RegistryKey | ||
SetValue ( string name, object value ) : void | ||
SetValue ( string name, object value, Microsoft valueKind ) : void | ||
ToString ( ) : string |
Метод | Описание | |
---|---|---|
ClosePerfDataKey ( ) : void | ||
CreateSubKeyInternalCore ( string subkey, bool writable, RegistryOptions registryOptions ) : |
||
DeleteSubKeyCore ( string subkey, bool throwOnMissingSubKey ) : void | ||
DeleteSubKeyTreeCore ( string subkey ) : void | ||
DeleteValueCore ( string name, bool throwOnMissingValue ) : void | ||
FlushCore ( ) : void | ||
FromHandle ( Microsoft handle ) : Microsoft.Win32.RegistryKey | ||
FromHandle ( Microsoft handle, Microsoft view ) : Microsoft.Win32.RegistryKey | ||
GetValueKindCore ( string name ) : RegistryValueKind | ||
GetValueNamesCore ( int values ) : string[] |
Retrieves an array of strings containing all the value names.
|
|
InternalGetSubKeyNamesCore ( int subkeys ) : string[] | ||
InternalGetValueCore ( string name, object defaultValue, bool doNotExpand ) : object | ||
InternalOpenSubKeyCore ( string name, RegistryRights rights, bool throwOnPermissionFailure ) : RegistryKey | ||
InternalSubKeyCountCore ( ) : int | ||
InternalValueCountCore ( ) : int | ||
IsWritable ( int rights ) : bool | ||
OpenBaseKeyCore ( RegistryHive hKeyHive, RegistryView view ) : RegistryKey |
Retrieves a new RegistryKey that represents the requested key. Valid values are: HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_PERFORMANCE_DATA, HKEY_CURRENT_CONFIG.
|
|
OpenRemoteBaseKeyCore ( RegistryHive hKey, string machineName, RegistryView view ) : RegistryKey | ||
RegistryKey ( ) | ||
SetValueCore ( string name, object value, RegistryValueKind valueKind ) : void | ||
Win32Error ( int errorCode, string str ) : void |
After calling GetLastWin32Error(), it clears the last error field, so you must save the HResult and pass it to this method. This method will determine the appropriate exception to throw dependent on your error, and depending on the error, insert a string into the message gotten from the ResourceManager.
|
|
Win32ErrorStatic ( int errorCode, string str ) : void |
public CreateSubKey ( string subkey ) : Microsoft.Win32.RegistryKey | ||
subkey | string | |
Результат | Microsoft.Win32.RegistryKey |
public CreateSubKey ( string subkey, bool writable ) : Microsoft.Win32.RegistryKey | ||
subkey | string | |
writable | bool | |
Результат | Microsoft.Win32.RegistryKey |
public CreateSubKey ( string subkey, bool writable, Microsoft options ) : Microsoft.Win32.RegistryKey | ||
subkey | string | |
writable | bool | |
options | Microsoft | |
Результат | Microsoft.Win32.RegistryKey |
public DeleteSubKey ( string subkey ) : void | ||
subkey | string | |
Результат | void |
public DeleteSubKey ( string subkey, bool throwOnMissingSubKey ) : void | ||
subkey | string | |
throwOnMissingSubKey | bool | |
Результат | void |
public DeleteSubKeyTree ( string subkey ) : void | ||
subkey | string | |
Результат | void |
public DeleteSubKeyTree ( string subkey, bool throwOnMissingSubKey ) : void | ||
subkey | string | |
throwOnMissingSubKey | bool | |
Результат | void |
public DeleteValue ( string name, bool throwOnMissingValue ) : void | ||
name | string | |
throwOnMissingValue | bool | |
Результат | void |
public GetValue ( string name, object defaultValue ) : object | ||
name | string | |
defaultValue | object | |
Результат | object |
public GetValue ( string name, object defaultValue, Microsoft options ) : object | ||
name | string | |
defaultValue | object | |
options | Microsoft | |
Результат | object |
public GetValueKind ( string name ) : Microsoft.Win32.RegistryValueKind | ||
name | string | |
Результат | Microsoft.Win32.RegistryValueKind |
public static OpenBaseKey ( Microsoft hKey, Microsoft view ) : Microsoft.Win32.RegistryKey | ||
hKey | Microsoft | |
view | Microsoft | |
Результат | Microsoft.Win32.RegistryKey |
public OpenSubKey ( string name ) : Microsoft.Win32.RegistryKey | ||
name | string | |
Результат | Microsoft.Win32.RegistryKey |
public OpenSubKey ( string name, System rights ) : Microsoft.Win32.RegistryKey | ||
name | string | |
rights | System | |
Результат | Microsoft.Win32.RegistryKey |
public OpenSubKey ( string name, bool writable ) : Microsoft.Win32.RegistryKey | ||
name | string | |
writable | bool | |
Результат | Microsoft.Win32.RegistryKey |
public SetValue ( string name, object value ) : void | ||
name | string | |
value | object | |
Результат | void |
public SetValue ( string name, object value, Microsoft valueKind ) : void | ||
name | string | |
value | object | |
valueKind | Microsoft | |
Результат | void |