Click or drag to resize

KnownFolderGetPath Method (KNOWN_FOLDER_FLAG, Boolean)

Gets the path.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public string GetPath(
	KNOWN_FOLDER_FLAG flags = KNOWN_FOLDER_FLAG.KF_FLAG_DEFAULT,
	bool throwOnError = true
)

Parameters

flags (Optional)
Type: ShellBoost.Core.WindowsShellKNOWN_FOLDER_FLAG
The flags.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: String
A string or null.
See Also