ICatalogCollection::Add method (comadmin.h)
Adds an item to the collection, giving it the high index value.
Syntax
HRESULT Add(
[out, retval] IDispatch **ppCatalogObject
);
Parameters
[out, retval] ppCatalogObject
A pointer to the ICatalogObject interface pointer for the new object.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
The AddEnabled property indicates whether the collection supports this method.
When an object is added, the Count property is incremented to reflect the change.
This change is not reflected in the persisted COM+ catalog data store until you use SaveChanges.
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 | comadmin.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for