Register a property with the container.
Defined in: PropContainer.h
bool RegisterProperty(IProperty* pProp, const _Accessor& accessor)
bool RegisterProperty(const PropertyId id, LPCTSTR lpszName, LPCTSTR lpszDesc, const _Accessor& accessor = _Accessor(), VARTYPE type = VT_EMPTY, DWORD dwStyle = PROP_DIRECT, IEnumeration *pIEnumeration = NULL)
bool RegisterProperty(const PropertyId id, UINT nIdName, UINT nIdDesc, const _Accessor& accessor = _Accessor(), VARTYPE type = VT_EMPTY, DWORD dwStyle = PROP_DIRECT, IEnumeration *pIEnumeration = NULL)
Return Value
Returns true if property successfully registered, otherwise false.