Click or drag to resize

ItemIdListGetPropertyVariantValue Method

Gets property value of the shell item represented by this ItemIdList. Depending on the attribute requested, the value is converted into a matching type.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax
public Object GetPropertyVariantValue(
	SHCOLUMNID pShellColumnID
)

Parameters

pShellColumnID
Type: Jam.ShellSHCOLUMNID
Identifier for the property.

Return Value

Type: Object
An object representing the value of the property or null if there is no value or the property is not supported.
Remarks
SearchScope will return an ItemIdList representing the search scope if the called instance represents a SearchFolder.
Examples
C#
//Gets the search scope of an ItemIdList representing a SearchFolder, i.e. the folder the search was started in.
// as ItemIdList
ItemIdList searchScope = itemIdList1.GetPropertyVariantValue(SHCOLUMNID.SearchScope) as ItemIdList;
// as path
string searchScopePath = itemIdList1.GetPropertyDisplayValue(SHCOLUMNID.SearchScope);
See Also