_XDocument2.SignedDataBlocks - Propriété
Obtient une référence à la collection SignedDataBlocksCollection associée à un objet XDocument.
Espace de noms : Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly : Microsoft.Office.Interop.InfoPath.SemiTrust (dans Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntaxe
'Déclaration
ReadOnly Property SignedDataBlocks As SignedDataBlocksCollection
Get
'Utilisation
Dim instance As _XDocument2
Dim value As SignedDataBlocksCollection
value = instance.SignedDataBlocks
SignedDataBlocksCollection SignedDataBlocks { get; }
Valeur de propriété
Type : Microsoft.Office.Interop.InfoPath.SemiTrust.SignedDataBlocksCollection
Remarques
Important
Seuls les formulaires qui s’exécutent dans le même domaine que le formulaire actuellement ouvert ou les formulaires disposant d’autorisations inter-domaines peuvent accéder à ce membre.
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 SignedDataBlockObject individuel est alors accessible grâce à l'indexation de tableau :
SignedDataBlocksCollection sblocks = thisXDocument.SignedDataBlocks;
SignedDataBlockObject sdblock = sblocks[0];
Voir aussi
Référence
Microsoft.Office.Interop.InfoPath.SemiTrust - Espace de noms