 | SpecialFolderLayoutRendererFolder Property |
Gets or sets the system special folder to use.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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:
EnvironmentSpecialFolder
Remarks
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