ExtensionMethodsSetValueSafeT Method (RegistryKey, String, T) |
Namespace:
Arsenal.ImageMounter.Extensions
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax public static void SetValueSafe<T>(
this RegistryKey RegKey,
string name,
T value
)
where T : class
<ExtensionAttribute>
Public Shared Sub SetValueSafe(Of T As Class) (
RegKey As RegistryKey,
name As String,
value As T
)
public:
[ExtensionAttribute]
generic<typename T>
where T : ref class
static void SetValueSafe(
RegistryKey^ RegKey,
String^ name,
T value
)
[<ExtensionAttribute>]
static member SetValueSafe :
RegKey : RegistryKey *
name : string *
value : 'T -> unit when 'T : not struct
Parameters
- RegKey
- Type: Microsoft.Win32RegistryKey
- name
- Type: SystemString
- value
- Type: T
Type Parameters
- T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
RegistryKey. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also