This topic has not yet been rated - Rate this topic

SignaturesCollection Interface (Microsoft.Office.Interop.InfoPath.SemiTrust)

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

 

Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
[CLSCompliantAttribute(false)] 
public interface SignaturesCollection : Signatures

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, see Signatures.

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.

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;
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.