ICcObjectContainer::DeleteObject (Compact 2013)
3/26/2014
Deprecated.
This method deletes an object with the specified name or ID.
In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.
Syntax
HRESULT DeleteObject(
BSTR in_bstrNameOrID
);
Parameters
- in_bstrNameOrID
[in] ID of the object.
Return Value
The following table shows the return values for this method.
Value |
Description |
---|---|
S_OK |
Indicates the object matching the name or ID was deleted from this container. |
S_FALSE |
Indicates the object was not found. |
E_INVALIDARG |
Indicates the name parameter must be non-NULL. |
E_REF |
Indicates there is an active reference to this object. |
E_FAIL |
Provides a return value for other failures. |
E_OUTOFMEMORY |
Indicates that the method could not allocate the bstr parameter in_bstrNameOrID. |
E_DATASTORE_PROTECTED |
Returns when unable to delete a protected entry. |
Requirements
Header |
ccdatastore.h |