Sdílet prostřednictvím


RegistryTools.SetRegistryFromCurrentUserRoot Metoda

Definice

Přetížení

SetRegistryFromCurrentUserRoot(String, String, Object)

Nastaví hodnotu v registru z kořenového registru HKCU.

SetRegistryFromCurrentUserRoot(String, String, Object, RegistryValueKind)

Nastaví hodnotu v registru z kořenového registru HKCU.

SetRegistryFromCurrentUserRoot(String, String, Object)

Nastaví hodnotu v registru z kořenového registru HKCU.

public:
 virtual bool SetRegistryFromCurrentUserRoot(System::String ^ regKeyPath, System::String ^ regKeyName, System::Object ^ value);
public bool SetRegistryFromCurrentUserRoot (string regKeyPath, string regKeyName, object value);
abstract member SetRegistryFromCurrentUserRoot : string * string * obj -> bool
override this.SetRegistryFromCurrentUserRoot : string * string * obj -> bool
Public Function SetRegistryFromCurrentUserRoot (regKeyPath As String, regKeyName As String, value As Object) As Boolean

Parametry

regKeyPath
String

Cesta ke klíči registru ve formátu klíč\podklíč\podklíč

regKeyName
String

Název proměnné pod klíčem

value
Object

hodnota, která se má nastavit

Návraty

true if set nebo false if error

Implementuje

Platí pro

SetRegistryFromCurrentUserRoot(String, String, Object, RegistryValueKind)

Nastaví hodnotu v registru z kořenového registru HKCU.

public bool SetRegistryFromCurrentUserRoot (string regKeyPath, string regKeyName, object value, Microsoft.Win32.RegistryValueKind valueKind);
abstract member SetRegistryFromCurrentUserRoot : string * string * obj * Microsoft.Win32.RegistryValueKind -> bool
override this.SetRegistryFromCurrentUserRoot : string * string * obj * Microsoft.Win32.RegistryValueKind -> bool
Public Function SetRegistryFromCurrentUserRoot (regKeyPath As String, regKeyName As String, value As Object, valueKind As RegistryValueKind) As Boolean

Parametry

regKeyPath
String

Cesta ke klíči registru ve formátu klíč\podklíč\podklíč

regKeyName
String

Název proměnné pod klíčem

value
Object

hodnota, která se má nastavit

valueKind
RegistryValueKind

Typ RegistryValueKind. Podporované typy jsou DWord, QWord.

Návraty

true if set nebo false if error

Implementuje

Platí pro