SignedDataBlocksCollection Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The collection of SignedDataBlockObject objects in the form template as defined in the form definition file (.xsf).
public interface class SignedDataBlocksCollection : Microsoft::Office::Interop::InfoPath::SignedDataBlocks
[System.Runtime.InteropServices.Guid("096CD712-0786-11D1-95FA-0080C78EE3BB")]
public interface SignedDataBlocksCollection : Microsoft.Office.Interop.InfoPath.SignedDataBlocks
type SignedDataBlocksCollection = interface
interface SignedDataBlocks
Public Interface SignedDataBlocksCollection
Implements SignedDataBlocks
- Derived
- Attributes
- Implements
Examples
The following example returns every set of data in the form which can be signed, and displays a message box with the name and number of signatures in each set of data:
public void DisplaySDBProperties()
{
<span class="label">SignedDataBlocks</span> mySignedDataBlocks = thisXDocument.<span class="label">SignedDataBlocks</span>;
thisXDocument.UI.Alert("Sets of data which can be signed = " + mySignedDataBlocks.Count.ToString());
for(int i=0; i< mySignedDataBlocks.Count; i++)
{
thisXDocument.UI.Alert("SDB #" + i.ToString() + " name is " + mySignedDataBlocks[i].Name + " and has " + mySignedDataBlocks[i].Signatures.Count.ToString() + " signatures.");
}
}
Remarks
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeSignedDataBlocks.
The SignedDataBlocksCollection collection implements properties that can be used to access the SignedDataBlock objects associated with a form. The SignedDataBlocksCollection is accessible through the SignedDataBlocks property of the XDocument object.
Properties
Count |
Gets the number of SignedDataBlockObject objects in the form template. (Inherited from SignedDataBlocks) |
Item[Object] |
Gets a reference to the specified SignedDataBlockObject object from the SignedDataBlocksCollection collection, based on position or name. (Inherited from SignedDataBlocks) |
Methods
GetEnumerator() |
Gets an IEnumerator that iterates over all entries in the SignedDataBlocksCollection object. (Inherited from SignedDataBlocks) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기