Signatures.Item Property
Gets a reference to the specified digital signature from the SignaturesCollection collection.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
ReadOnly Default Property Item ( _
varIndex As Object _
) As SignatureObject
Get
'Usage
Dim instance As Signatures
Dim varIndex As Object
Dim value As SignatureObject
value = instance(varIndex)
SignatureObject this[
Object varIndex
] { get; }
Parameters
varIndex
Type: System.ObjectA numeric expression that specifies the position of a member of the SignaturesCollection collection. The argument must be a number from 0 to the value of the collection's Count property minus 1.
Property Value
Type: Microsoft.Office.Interop.InfoPath.SemiTrust.SignatureObject
Remarks
Important
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.
Examples
The following example returns the first SignatureObject object in the SignaturesCollection collection of the form:
Signature firstSignature = thisXDocument.SignedDataBlocks[0].Signatures[0];