IXpsSignatureRequestCollection::RemoveAt method (xpsdigitalsignature.h)
Removes and releases an IXpsSignatureRequest interface pointer from a specified location in the collection.
Syntax
HRESULT RemoveAt(
[in] UINT32 index
);
Parameters
[in] index
The zero-based index in the collection from which an IXpsSignatureRequest interface pointer is to be removed and released.
Return value
If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.
Remarks
This method releases the interface pointer from the location specified by index. After releasing the interface, this method compacts the collection by reducing by 1 the index of each pointer subsequent to index.
For more information about the collection methods, see Working with XPS OM Collection Interfaces.
After the interface has been removed from a collection, it is no longer valid. If an application retains a pointer to the removed interface and tries to call one of the interface's methods, the method will return E_UNEXPECTED.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | xpsdigitalsignature.h |
See also
IXpsSignatureRequestCollection