ShellUtilitiesGetViewStatePropertyBagValue Method (IWithIdList, String, String, SHGVSPB) |
Retrieves a property bag in which the view state information for a folder can be stored and subsequently retrieved and get a value by its name from it.
The user's settings are kept for the next time the user visits the folder.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Object GetViewStatePropertyBagValue(
IWithIdList idList,
string bagName,
string valueName,
SHGVSPB flags = SHGVSPB.SHGVSPB_NONE
)
Parameters
- idList
- Type: ShellBoost.CoreIWithIdList
A PIDL of the folder for which you are requesting properties. This parameter must be null if the SHGVSPB_ALLFOLDERS flag is passed. - bagName
- Type: SystemString
The name of the requested property bag. - valueName
- Type: SystemString
The name of the value. - flags (Optional)
- Type: ShellBoost.Core.WindowsShellSHGVSPB
Options that specify how the bag must be retrieved.
Return Value
Type:
ObjectThe object value or null.
Exceptions See Also