SignedDataBlock.Sign Method

Definition

Invokes the Digital Signatures Wizard to add a digital signature to the currently selected set of data which can be signed in a Microsoft Office InfoPath form.

public:
 void Sign();
public void Sign ();
abstract member Sign : unit -> unit
Public Sub Sign ()

Examples

The following example will advance the Digital Signature Wizard dialog to the Select a Certificate step of the wizard:

thisXDocument.SignedDataBlocks[0].<span class="label">Sign</span>();

Remarks

The new signature uses the default signature template, and it is applied to the SignedDataBlockObject object. Calling this method advances the Digital Signatures Wizard to the second step in the signing process, selecting a certificate.

Applies to