Edit

Share via


Signatures.Item[Object] Property

Definition

Gets a reference to the specified digital signature from the SignaturesCollection collection.

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::SignatureObject ^ default[System::Object ^] { Microsoft::Office::Interop::InfoPath::SemiTrust::SignatureObject ^ get(System::Object ^ varIndex); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.SignatureObject this[object varIndex] { get; }
member this.Item(obj) : Microsoft.Office.Interop.InfoPath.SemiTrust.SignatureObject
Default Public ReadOnly Property Item(varIndex As Object) As SignatureObject

Parameters

varIndex
Object

A 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

Examples

The following example returns the first SignatureObject object in the SignaturesCollection collection of the form:

Signature firstSignature = thisXDocument.SignedDataBlocks[0].Signatures[0];

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.

Applies to