Click or drag to resize

SpecialFolderLayoutRendererFolder Property

Gets or sets the system special folder to use.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public EnvironmentSpecialFolder Folder { 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