IXpsSigningOptions::SetSignatureId method (xpsdigitalsignature.h)

Sets the value of the Id attribute of the Signature element.

Syntax

HRESULT SetSignatureId(
  [in] LPCWSTR signatureId
);

Parameters

[in] signatureId

The string value to be set as the Id attribute of the Signature element. If this parameter is NULL, the Id attribute is cleared.

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

IOpcSigningOptions

IXpsSigningOptions

XML Paper Specification