UtilRegistryCreateValueT(RegistryView, String, String, String, T, RegistryValueKind) Method

Creates or replaces a registry value.

Definition

Namespace: DevCase.Core.Windows.Registry
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void CreateValue<T>(
	RegistryView view,
	string rootKeyName,
	string subKeyPath,
	string valueName,
	T valueData,
	RegistryValueKind valueType = RegistryValueKind.String
)

Parameters

view  RegistryView

[Missing <param name="view"/> documentation for "M:DevCase.Core.Windows.Registry.UtilRegistry.CreateValue``1(Microsoft.Win32.RegistryView,System.String,System.String,System.String,``0,Microsoft.Win32.RegistryValueKind)"]

rootKeyName  String
The rootkey name.
subKeyPath  String
The subkey path.
valueName  String
The value name.
valueData  T
The value data.
valueType  RegistryValueKind  (Optional)
The registry value type.

Type Parameters

T
The type.

Exceptions

ArgumentNullException rootKeyName or subKeyPath or valueName

See Also