IXpsSigningOptions::SetSignaturePartName method (xpsdigitalsignature.h)

Sets the part name of the document's signature part.

Syntax

HRESULT SetSignaturePartName(
  [in] IOpcPartUri *signaturePartName
);

Parameters

[in] signaturePartName

The IOpcPartUri interface that contains the part name of the document's signature part.

If this parameter is NULL, this method will generate a random, unique part name for the signature part.

Return value

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

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

IOpcPartUri

IOpcSigningOptions

IXpsSigningOptions

XML Paper Specification