Partager via


SignedDataBlockCollection.ShowSignatureDialog Method

Displays the Sign dialog box.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride Sub ShowSignatureDialog
'Usage
Dim instance As SignedDataBlockCollection

instance.ShowSignatureDialog()
public abstract void ShowSignatureDialog()

Remarks

The ShowSignatureDialog method can be used only in form templates that have been enabled for digital signing. The method will raise an exception if used in a form template that is not enabled for digital signing.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Examples

In the following example, the ShowSignatureDialog method of the SignedDataBlockCollection class is used to display the Sign dialog box.

this.SignedDataBlocks.ShowSignatureDialog();
Me.SignedDataBlocks.ShowSignatureDialog()

See Also

Reference

SignedDataBlockCollection Class

SignedDataBlockCollection Members

Microsoft.Office.InfoPath Namespace