CAxPropertyContainer::GetPropertyValue

virtual boolCAxPropertyContainer::GetPropertyValue(const PropertyIdpropId, VARIANT&propVal)

Get a property value using the property ID.

Defined in: AxPropContainer.h

Return Value

Returns true if property value found, otherwise false.

Parameters

propId

Property ID to retrieve value for

propVal

Output parameter to receive property value.

Comments

This function uses the IDispatch interface of the ActiveX control associated with the container to retrieve the value of the property from the control. If that fail, the function call is delegated to the base class.