Click or drag to resize

ExtensionMethodsSetValueSafeT Method (RegistryKey, String, NullableT)

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,
	Nullable<T> value
)
where T : struct, new()

Parameters

RegKey
Type: Microsoft.Win32RegistryKey
name
Type: SystemString
value
Type: SystemNullableT

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