ShellUtilitiesClearViewStatePropertyBag Method (IWithIdList, 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:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static int ClearViewStatePropertyBag(
IWithIdList idList,
string bagName,
bool throwOnError = true
)
Parameters
- idList
- Type: ShellBoost.CoreIWithIdList
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:
Int32An error code or 0.
See Also