Edit

Share via


SignedDataBlockObject Interface

Definition

Represents a set of data in a Microsoft Office InfoPath form which can be signed.

public interface class SignedDataBlockObject : Microsoft::Office::Interop::InfoPath::SignedDataBlock
[System.Runtime.InteropServices.Guid("096CD714-0786-11D1-95FA-0080C78EE3BB")]
public interface SignedDataBlockObject : Microsoft.Office.Interop.InfoPath.SignedDataBlock
type SignedDataBlockObject = interface
    interface SignedDataBlock
Public Interface SignedDataBlockObject
Implements SignedDataBlock
Derived
Attributes
Implements

Examples

The following example returns the first set of data in the form which can be signed, or, if only the entire form can be signed, the entire form:

<span class="label">SignedDataBlock</span> sdb = thisXDocument.SignedDataBlocks[0];

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeSignedDataBlock.

The SignedDataBlockObject object provides a number of properties and one method that can be used to programmatically interact with a set of data which can be signed. It is accessible through the SignedDataBlocks property of the XDocument object.

Properties

Caption

Gets the signature confirmation message of the SignedDataBlockObject object.

(Inherited from SignedDataBlock)
Name

Gets the friendly name of a SignedDataBlockObject object.

(Inherited from SignedDataBlock)
SignatureContainer

Gets the root XML node of the subtree containing the signatures in the SignedDataBlockObject object.

(Inherited from SignedDataBlock)
SignatureRelation

Gets the relation among multiple signatures of the SignedDataBlockObject object, expressed as XdSignatureRelation enumerated constants.

(Inherited from SignedDataBlock)
Signatures

Gets a reference to the SignaturesCollection collection associated with the SignedDataBlockObject object.

(Inherited from SignedDataBlock)
XPath

Gets the XPath expression of a SignedDataBlockObject object.

(Inherited from SignedDataBlock)
XPathNamespaceDeclarations

Gets the namespace declarations for the XPath expression returned by the XPath property of a SignedDataBlockObject object.

(Inherited from SignedDataBlock)

Methods

Sign()

Invokes the Digital Signatures Wizard to add a digital signature to the currently selected set of data which can be signed in a Microsoft Office InfoPath form.

(Inherited from SignedDataBlock)

Applies to