共用方式為


IXpsSignatureBlockCollection::GetAt method

Gets an IXpsSignatureBlock interface pointer from a specified location in the collection.

Syntax

HRESULT GetAt(
  [in]          UINT32             index,
  [out, retval] IXpsSignatureBlock **signatureBlock
);

Parameters

  • index [in]
    The zero-based index of the IXpsSignatureBlock interface pointer to be obtained.

  • signatureBlock [out, retval]
    The IXpsSignatureBlock interface pointer at the location specified by index.

Return value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Remarks

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

See also

IXpsSignatureBlockCollection

Working with XPS OM Collection Interfaces

IXpsSignatureBlock

XML Paper Specification