Поделиться через


IXpsSignatureRequestCollection::RemoveAt method

Removes and releases an IXpsSignatureRequest interface pointer from a specified location in the collection.

Syntax

HRESULT RemoveAt(
  [in] UINT32 index
);

Parameters

  • index [in]
    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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Xpsdigitalsignature.h

IDL

XpsDigitalSignature.idl

See also

IXpsSignatureRequestCollection

Working with XPS OM Collection Interfaces

IXpsSignatureRequest

XML Paper Specification