_XDocument4.IsSigned Property

Definition

Gets a value that indicates whether a Microsoft InfoPath form has been digitally signed using digital signatures.

public:
 property bool IsSigned { bool get(); };
public bool IsSigned { get; }
member this.IsSigned : bool
Public ReadOnly Property IsSigned As Boolean

Property Value

Returns Boolean.

Implements

Examples

In the following example, the IsSigned property of the XDocument object is used to determine whether a form has been digitally signed:

if (thisXDocument.<span class="label">IsSigned</span>)
{
 thisXDocument.UI.Alert("This form contains digital signatures.");
}

In the following example, the IsSigned property of the XDocument object is used to determine whether a form has been digitally signed:

if (thisXDocument.<span class="label">IsSigned</span>)
{
 thisXDocument.UI.Alert("This form contains digital signatures.");
}

Remarks

If the IsSigned property is true, the form has been digitally signed. If false, the form has not been digitally signed.

InfoPath uses XML Signatures to digitally sign forms.

Note: If a form has been digitally signed, its underlying XML document is placed in a read-only state.

Applies to