SignatureCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the specified Signature object from the SignatureCollection object.
public:
abstract property Microsoft::Office::InfoPath::Signature ^ default[int] { Microsoft::Office::InfoPath::Signature ^ get(int index); };
public abstract Microsoft.Office.InfoPath.Signature this[int index] { get; }
member this.Item(int) : Microsoft.Office.InfoPath.Signature
Default Public MustOverride ReadOnly Property Item(index As Integer) As Signature
Parameters
- index
- 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
The Signature object that corresponds to the specified index
value.
Exceptions
The index value is out of range.
Examples
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 =
this.SignedDataBlocks[0].Signatures[0];
Dim firstSignature As Signature =
Me.SignedDataBlocks(0).Signatures(0)
Remarks
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.