 | SpecialFolderLayoutRendererFolder Property |
Gets or sets the system special folder to use.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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