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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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