UtilRegistryGetValueDataT(RegInfoT, T, RegistryValueOptions) Method

Gets the data of 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 T GetValueData<T>(
	RegInfo<T> regInfo,
	T defaultIfEmpty,
	RegistryValueOptions registryValueOptions = RegistryValueOptions.None
)

Parameters

regInfo  RegInfoT
A RegInfoT instance containing the registry info.
defaultIfEmpty  T
A default value to return if the data is empty.
registryValueOptions  RegistryValueOptions  (Optional)
The registry value options.

Type Parameters

T
The type.

Return Value

T
The value data.

See Also