Export (0) Print
Expand All

SignatureCollection.Item Property (Microsoft.Office.InfoPath)

Gets a reference to the specified Signature object from the SignatureCollection object.

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

public abstract Signature this [
	int index
] { get; }



The zero-based index for the Signature object to return. The value specified must be a number from 0 to the value of the collection's Count property minus 1.

Property Value

The Signature object that corresponds to the specified index value.

Exception typeCondition


The index value is out of range.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.

The following example returns the first Signature object in the SignatureCollection object for the first set of signable data in the form, or, if only the entire form can be signed, will return the first Signature object for the entire form.

Signature firstSignature = 

Community Additions

© 2014 Microsoft