SignaturesCollection Interface

Definition

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

public interface class SignaturesCollection : Microsoft::Office::Interop::InfoPath::SemiTrust::Signatures
[System.Runtime.InteropServices.Guid("096cd716-0786-11d1-95fa-0080c78ee3bb")]
public interface SignaturesCollection : Microsoft.Office.Interop.InfoPath.SemiTrust.Signatures
type SignaturesCollection = interface
    interface Signatures
Public Interface SignaturesCollection
Implements Signatures
Attributes
Implements

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:

<span class="label">Signatures</span> block1Signatures = thisXDocument.SignedDataBlocks[0].<span class="label">Signatures</span>;

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, 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.

Properties

Count

Gets the number of SignatureObject objects in the collection.

(Inherited from Signatures)
Item[Object]

Gets a reference to the specified digital signature from the SignaturesCollection collection.

(Inherited from Signatures)

Methods

Create()

Creates a new SignatureObject object.

(Inherited from Signatures)
GetEnumerator()

Gets an IEnumerator that iterates over all entries in the SignaturesCollection object.

(Inherited from Signatures)

Applies to