SignatureCollection.Item property

Office 2013 and later

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; }


Type: System.Int32

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

Type: Microsoft.Office.InfoPath.Signature
The Signature object that corresponds to the specified index value.


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 InfoPath Filler.

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 =