public static void CreateValue<T>(
RegistryView view,
string rootKeyName,
string subKeyPath,
string valueName,
T valueData,
RegistryValueKind valueType = RegistryValueKind.String
)
Public Shared Sub CreateValue(Of T) (
view As RegistryView,
rootKeyName As String,
subKeyPath As String,
valueName As String,
valueData As T,
Optional valueType As RegistryValueKind = RegistryValueKind.String
)
Dim view As RegistryView
Dim rootKeyName As String
Dim subKeyPath As String
Dim valueName As String
Dim valueData As T
Dim valueType As RegistryValueKind
UtilRegistry.CreateValue(view, rootKeyName,
subKeyPath, valueName, valueData,
valueType)
public:
generic<typename T>
static void CreateValue(
RegistryView view,
String^ rootKeyName,
String^ subKeyPath,
String^ valueName,
T valueData,
RegistryValueKind valueType = RegistryValueKind::String
)
static member CreateValue :
view : RegistryView *
rootKeyName : string *
subKeyPath : string *
valueName : string *
valueData : 'T *
?valueType : RegistryValueKind
(* Defaults:
let _valueType = defaultArg valueType RegistryValueKind.String
*)
-> unit
No code example is currently available or this language may not be supported.
[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)"]
ArgumentNullException | rootKeyName or subKeyPath or valueName |