ItemIdListGetPropertyDisplayValue Method |
Gets property value converted to a string.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic string GetPropertyDisplayValue(
SHCOLUMNID pShellColumnId
)
Public Function GetPropertyDisplayValue (
pShellColumnId As SHCOLUMNID
) As String
public:
String^ GetPropertyDisplayValue(
SHCOLUMNID pShellColumnId
)
member GetPropertyDisplayValue :
pShellColumnId : SHCOLUMNID -> string Parameters
- pShellColumnId SHCOLUMNID
- Identifier for the property.
Return Value
StringThe formatted property value or an empty string if the property doesn't have a value or is not supported by the item.
RemarksOnly works on Vista and higher. The value is converted using Shell API function FormatForDisplay, so it returns the same string Windows Explorer is displaying.
Example
Retrieve the search scope of an ItemIdList representing a
SearchFolder as path.
ItemIdList searchScope = itemIdList1.GetPropertyVariantValue(SHCOLUMNID.SearchScope) as ItemIdList;
string searchScopePath = itemIdList1.GetPropertyDisplayValue(SHCOLUMNID.SearchScope);
See Also