Share via


_XDocument3.IsSigned Property

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

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

true if the form has been digitally signed; otherwise false.

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.

Example

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

if (thisXDocument.IsSigned)
{
 thisXDocument.UI.Alert("This form contains digital signatures.");
}

See Also

Reference

_XDocument3 Interface
_XDocument3 Members
Microsoft.Office.Interop.InfoPath Namespace