Click or drag to resize

KnownFolderToFolder Method

Converts this object to a ShellFolder.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Folder ToFolder(
	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: Folder
A ShellFolder instance or null.
See Also