_XDocument4.SignedDataBlocks Propriété

Définition

Obtient une référence à la SignedDataBlocksCollection collection associée à un XDocument objet .

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

Valeur de propriété

Implémente

Exemples

Dans l'exemple suivant, la propriété SignedDataBlocks de l'objet XDocument est utilisée pour obtenir une référence à la collection SignedDataBlocksCollection. Un objet individuel SignedDataBlockObject est ensuite accessible à l’aide de l’indexation de tableau :

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

Dans l'exemple suivant, la propriété SignedDataBlocks de l'objet XDocument est utilisée pour obtenir une référence à la collection SignedDataBlocksCollection. Un objet individuel SignedDataBlockObject est ensuite accessible à l’aide de l’indexation de tableau :

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

Remarques

Important : ce membre est accessible uniquement par les formulaires s’exécutant dans le même domaine que le formulaire actuellement ouvert, ou par les formulaires auxquels des autorisations inter-domaines ont été accordées.

S’applique à