| RegistryLayoutRendererKey Property |
Gets or sets the registry key.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog.WindowsRegistry (in NLog.WindowsRegistry.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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:
LayoutRemarks
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