C# Класс Microsoft.Win32.UnixRegistryApi

Наследование: IRegistryApi
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Close ( RegistryKey rkey ) : void
CreateSubKey ( RegistryKey rkey, string keyname ) : RegistryKey
CreateSubKey ( RegistryKey rkey, string keyname, RegistryOptions options ) : RegistryKey
DeleteKey ( RegistryKey rkey, string keyname, bool throw_if_missing ) : void
DeleteValue ( RegistryKey rkey, string name, bool throw_if_missing ) : void
Flush ( RegistryKey rkey ) : void
FromHandle ( SafeRegistryHandle handle ) : RegistryKey
GetHandle ( RegistryKey key ) : IntPtr
GetSubKeyNames ( RegistryKey rkey ) : string[]
GetValue ( RegistryKey rkey, string name, object default_value, RegistryValueOptions options ) : object
GetValueKind ( RegistryKey rkey, string name ) : RegistryValueKind
GetValueNames ( RegistryKey rkey ) : string[]
OpenRemoteBaseKey ( RegistryHive hKey, string machineName ) : RegistryKey
OpenSubKey ( RegistryKey rkey, string keyname, bool writable ) : RegistryKey
SetValue ( RegistryKey rkey, string name, object value ) : void
SetValue ( RegistryKey rkey, string name, object value, RegistryValueKind valueKind ) : void
SubKeyCount ( RegistryKey rkey ) : int
ToString ( RegistryKey rkey ) : string
ValueCount ( RegistryKey rkey ) : int

Приватные методы

Метод Описание
CreateSubKey ( RegistryKey rkey, string keyname, bool writable ) : RegistryKey
CreateSubKey ( RegistryKey rkey, string keyname, bool writable, bool is_volatile ) : RegistryKey
IsWellKnownKey ( string parentKeyName, string keyname ) : bool
ToUnix ( string keyname ) : string

Описание методов

Close() публичный Метод

public Close ( RegistryKey rkey ) : void
rkey RegistryKey
Результат void

CreateSubKey() публичный Метод

public CreateSubKey ( RegistryKey rkey, string keyname ) : RegistryKey
rkey RegistryKey
keyname string
Результат RegistryKey

CreateSubKey() публичный Метод

public CreateSubKey ( RegistryKey rkey, string keyname, RegistryOptions options ) : RegistryKey
rkey RegistryKey
keyname string
options RegistryOptions
Результат RegistryKey

DeleteKey() публичный Метод

public DeleteKey ( RegistryKey rkey, string keyname, bool throw_if_missing ) : void
rkey RegistryKey
keyname string
throw_if_missing bool
Результат void

DeleteValue() публичный Метод

public DeleteValue ( RegistryKey rkey, string name, bool throw_if_missing ) : void
rkey RegistryKey
name string
throw_if_missing bool
Результат void

Flush() публичный Метод

public Flush ( RegistryKey rkey ) : void
rkey RegistryKey
Результат void

FromHandle() публичный Метод

public FromHandle ( SafeRegistryHandle handle ) : RegistryKey
handle Microsoft.Win32.SafeHandles.SafeRegistryHandle
Результат RegistryKey

GetHandle() публичный Метод

public GetHandle ( RegistryKey key ) : IntPtr
key RegistryKey
Результат System.IntPtr

GetSubKeyNames() публичный Метод

public GetSubKeyNames ( RegistryKey rkey ) : string[]
rkey RegistryKey
Результат string[]

GetValue() публичный Метод

public GetValue ( RegistryKey rkey, string name, object default_value, RegistryValueOptions options ) : object
rkey RegistryKey
name string
default_value object
options RegistryValueOptions
Результат object

GetValueKind() публичный Метод

public GetValueKind ( RegistryKey rkey, string name ) : RegistryValueKind
rkey RegistryKey
name string
Результат RegistryValueKind

GetValueNames() публичный Метод

public GetValueNames ( RegistryKey rkey ) : string[]
rkey RegistryKey
Результат string[]

OpenRemoteBaseKey() публичный Метод

public OpenRemoteBaseKey ( RegistryHive hKey, string machineName ) : RegistryKey
hKey RegistryHive
machineName string
Результат RegistryKey

OpenSubKey() публичный Метод

public OpenSubKey ( RegistryKey rkey, string keyname, bool writable ) : RegistryKey
rkey RegistryKey
keyname string
writable bool
Результат RegistryKey

SetValue() публичный Метод

public SetValue ( RegistryKey rkey, string name, object value ) : void
rkey RegistryKey
name string
value object
Результат void

SetValue() публичный Метод

public SetValue ( RegistryKey rkey, string name, object value, RegistryValueKind valueKind ) : void
rkey RegistryKey
name string
value object
valueKind RegistryValueKind
Результат void

SubKeyCount() публичный Метод

public SubKeyCount ( RegistryKey rkey ) : int
rkey RegistryKey
Результат int

ToString() публичный Метод

public ToString ( RegistryKey rkey ) : string
rkey RegistryKey
Результат string

ValueCount() публичный Метод

public ValueCount ( RegistryKey rkey ) : int
rkey RegistryKey
Результат int