IEventPublisher::GetDefaultPropertyCollection method (eventsys.h)
Creates a collection object that enumerates the properties contained in the property bag associated with the event publisher object.
Syntax
HRESULT GetDefaultPropertyCollection(
[out, retval] IEventObjectCollection **collection
);
Parameters
[out, retval] collection
A pointer to an IEventObjectCollection interface pointer on an event object collection. This parameter cannot be NULL.
Return value
The possible return values include E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
An EventPublisher object includes a property bag that can contain name and value pairs. Objects in the event system, including subscribers, can add, modify, and read these properties.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | eventsys.h |