Share via


SignaturesCollection interface

Contains a SignatureObject for each signature in the Microsoft Office InfoPath form or SignedDataBlockObject object.

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

Syntax

'Declaration
<GuidAttribute("096CD716-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface SignaturesCollection _
    Inherits Signatures
'Usage
Dim instance As SignaturesCollection
[GuidAttribute("096CD716-0786-11D1-95FA-0080C78EE3BB")]
public interface SignaturesCollection : Signatures

Remarks

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeSignatures.

The SignaturesCollection collection implements properties and a method that can be used to access a form's associated SignatureObject objects and to create a signature. It is accessible through the Signatures property of the SignedDataBlockObject object.

Examples

The following example will return the Signatures collection of the first set of data in the form which can be signed, or, if only the entire form can be signed, will return the Signatures of the form:

Signatures block1Signatures = thisXDocument.SignedDataBlocks[0].Signatures;

See also

Reference

SignaturesCollection members

Microsoft.Office.Interop.InfoPath namespace