_XDocument2.SignedDataBlocks Property

Definition

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

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::SignedDataBlocksCollection ^ SignedDataBlocks { Microsoft::Office::Interop::InfoPath::SemiTrust::SignedDataBlocksCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.SignedDataBlocksCollection SignedDataBlocks { get; }
member this.SignedDataBlocks : Microsoft.Office.Interop.InfoPath.SemiTrust.SignedDataBlocksCollection
Public ReadOnly Property SignedDataBlocks As SignedDataBlocksCollection

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