IXpsSignatureCollection::RemoveAt method
Removes and releases an IXpsSignature interface pointer from a specified location in the collection.
Syntax
HRESULT RemoveAt(
UINT32 index
);
Parameters
- index
The zero-based index in the collection from which an IXpsSignature 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 an interface referenced by the pointer at 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.
Once an interface has been removed from a collection, it is no longer valid. If an application retains a pointer to the interface that was removed and tries to call one of its methods, the method will return E_UNEXPECTED.
For more information about the collection methods, see Working with XPS OM Collection Interfaces.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
Xpsdigitalsignature.h |
IDL |
XpsDigitalSignature.idl |