 | RegistryLayoutRendererKey Property |
Gets or sets the registry key.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog.WindowsRegistry (in NLog.WindowsRegistry.dll) Version: 6.0.3+e276e1969a52b8ecc5cc84c1670a516efea0cb19
Syntaxpublic Layout Key { get; set; }Public Property Key As Layout
Get
Set
Dim instance As RegistryLayoutRenderer
Dim value As Layout
value = instance.Key
instance.Key = value
member Key : Layout with get, set
Property Value
Type:
Layout
Remarks
Possible keys:
- HKEY_LOCAL_MACHINE
- HKLM
- HKEY_CURRENT_USER
- HKCU
- HKEY_CLASSES_ROOT
- HKEY_USERS
- HKEY_CURRENT_CONFIG
- HKEY_DYN_DATA
- HKEY_PERFORMANCE_DATA
Examples
HKCU\Software\NLogTest
See Also