Partager via


XmlForm.SignedDataBlocks Propriété

Définition

Obtient une référence à la SignedDataBlockCollection collection associée à un formulaire.

public:
 abstract property Microsoft::Office::InfoPath::SignedDataBlockCollection ^ SignedDataBlocks { Microsoft::Office::InfoPath::SignedDataBlockCollection ^ get(); };
public abstract Microsoft.Office.InfoPath.SignedDataBlockCollection SignedDataBlocks { get; }
member this.SignedDataBlocks : Microsoft.Office.InfoPath.SignedDataBlockCollection
Public MustOverride ReadOnly Property SignedDataBlocks As SignedDataBlockCollection

Valeur de propriété

SignedDataBlockCollection qui contient tous SignedDataBlock les objets associés au formulaire.

Exemples

Dans l’exemple de code suivant, la propriété SignedDataBlocks de la XmlForm classe est utilisée pour obtenir une référence à SignedDataBlockCollection pour le formulaire. Vous accédez ensuite au premier objet SignedDataBlock à partir de la collection.

SignedDataBlockCollection sblocks = this.SignedDataBlocks;
SignedDataBlock sdblock = sblocks[0];
Dim sblocks As SignedDataBlockCollection = Me.SignedDataBlocks
Dim sdblock As SignedDataBlock = sblocks(0)

Remarques

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.

Vous pouvez uniquement accéder à ce type ou à ce membre à partir du code exécuté dans les formulaires ouverts dans Microsoft InfoPath Filler.

S’applique à