C# Class Microsoft.Win32.Registry

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Свойство Type Description
ClassesRoot Microsoft.Win32.RegistryKey
CurrentConfig Microsoft.Win32.RegistryKey
CurrentUser Microsoft.Win32.RegistryKey
LocalMachine Microsoft.Win32.RegistryKey
PerformanceData Microsoft.Win32.RegistryKey
Users Microsoft.Win32.RegistryKey

Méthodes publiques

Méthode Description
GetValue ( string keyName, string valueName, object defaultValue ) : object
SetValue ( string keyName, string valueName, object value ) : void
SetValue ( string keyName, string valueName, object value, Microsoft valueKind ) : void

Method Details

GetValue() public static méthode

public static GetValue ( string keyName, string valueName, object defaultValue ) : object
keyName string
valueName string
defaultValue object
Résultat object

SetValue() public static méthode

public static SetValue ( string keyName, string valueName, object value ) : void
keyName string
valueName string
value object
Résultat void

SetValue() public static méthode

public static SetValue ( string keyName, string valueName, object value, Microsoft valueKind ) : void
keyName string
valueName string
value object
valueKind Microsoft
Résultat void

Property Details

ClassesRoot public_oe static_oe property

public static Microsoft.Win32.RegistryKey ClassesRoot
Résultat Microsoft.Win32.RegistryKey

CurrentConfig public_oe static_oe property

public static Microsoft.Win32.RegistryKey CurrentConfig
Résultat Microsoft.Win32.RegistryKey

CurrentUser public_oe static_oe property

public static Microsoft.Win32.RegistryKey CurrentUser
Résultat Microsoft.Win32.RegistryKey

LocalMachine public_oe static_oe property

public static Microsoft.Win32.RegistryKey LocalMachine
Résultat Microsoft.Win32.RegistryKey

PerformanceData public_oe static_oe property

public static Microsoft.Win32.RegistryKey PerformanceData
Résultat Microsoft.Win32.RegistryKey

Users public_oe static_oe property

public static Microsoft.Win32.RegistryKey Users
Résultat Microsoft.Win32.RegistryKey