Share via


_XDocument2.SignedDataBlocks property

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

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
ReadOnly Property SignedDataBlocks As SignedDataBlocksCollection
    Get
'Usage
Dim instance As _XDocument2
Dim value As SignedDataBlocksCollection

value = instance.SignedDataBlocks
SignedDataBlocksCollection SignedDataBlocks { get; }

Property value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.SignedDataBlocksCollection

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

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.SignedDataBlocks;
SignedDataBlockObject sdblock = sblocks[0];

See also

Reference

_XDocument2 interface

_XDocument2 members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace