| SpecialFolderLayoutRendererFolder Property |
Gets or sets the system special folder to use.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public EnvironmentSpecialFolder Folder { get; set; }
Public Property Folder As EnvironmentSpecialFolder
Get
Set
Dim instance As SpecialFolderLayoutRenderer
Dim value As EnvironmentSpecialFolder
value = instance.Folder
instance.Folder = value
member Folder : EnvironmentSpecialFolder with get, set
Property Value
Type:
EnvironmentSpecialFolderRemarks
Full list of options is available at
MSDN.
The most common ones are:
- CommonApplicationData - application data for all users.
- ApplicationData - roaming application data for current user.
- LocalApplicationData - non roaming application data for current user
- UserProfile - Profile folder for current user
- DesktopDirectory - Desktop-directory for current user
- MyDocuments - My Documents-directory for current user
- System - System directory
See Also