Partager via


IXpsSigningOptions::SetSignatureId method

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

Syntax

HRESULT SetSignatureId(
  [in] LPCWSTR signatureId
);

Parameters

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

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

IXpsSigningOptions

IOpcSigningOptions

XML Paper Specification