Click or drag to resize

ShellUtilitiesClearViewStatePropertyBag Method (IntPtr, String, Boolean)

Clears a property bag in which the view state information for a folder was stored. Note this method requires a STA thread to work.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int ClearViewStatePropertyBag(
	IntPtr pidl,
	string bagName,
	bool throwOnError = true
)

Parameters

pidl
Type: SystemIntPtr
A PIDL of the folder for which you are requesting properties.
bagName
Type: SystemString
The name of the requested property bag.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of Windows Shell errors.

Return Value

Type: Int32
An error code or 0.
See Also