CPropertyContainer::GetPropertyString

virtual bool CPropertyContainer::GetPropertyString(const PropertyId propId, BSTR& propVal)

Get a property value as a string using the property ID.

Defined in: PropContainer.h

Return Value

Returns true if the property value for the given property ID is found and successfully converted to a string, otherwise it returns false.

Parameters

propId

Property ID to retrieve.

propVal

Output parameter to receive the string value.

Comments

This function is a convenience function. It saves the caller from having to perform their own VARIANT to string conversions.