Click or drag to resize

ExtensionMethodsSetValueSafeT Method (RegistryKey, String, T, RegistryValueKind)

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,
	RegistryValueKind valueKind
)
where T : class

Parameters

RegKey
Type: Microsoft.Win32RegistryKey
name
Type: SystemString
value
Type: T
valueKind
Type: Microsoft.Win32RegistryValueKind

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