_XDocument2.SignedDataBlocks Property

Definition

Gets a reference to the SignedDataBlocksCollection collection that is associated with an XDocument object.

C#
public Microsoft.Office.Interop.InfoPath.SemiTrust.SignedDataBlocksCollection SignedDataBlocks { get; }

Property Value

Examples

In the following example, the SignedDataBlocks property of the XDocument object is used to get a reference to the SignedDataBlocksCollection collection. An individual SignedDataBlockObject object is then accessed using array indexing:

SignedDataBlocksCollection sblocks = thisXDocument.<span class="label">SignedDataBlocks</span>;
SignedDataBlockObject sdblock = sblocks[0];

In the following example, the SignedDataBlocks property of the XDocument object is used to get a reference to the SignedDataBlocksCollection collection. An individual SignedDataBlockObject object is then accessed using array indexing:

SignedDataBlocksCollection sblocks = thisXDocument.<span class="label">SignedDataBlocks</span>;
SignedDataBlockObject sdblock = sblocks[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

Prodotto Versioni
InfoPath external automation Latest