フォームまたはフォーム内の署名付きデータのセットに関連付けられているデジタル署名に追加されたテキスト コメントを取得します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(1)> _
ReadOnly Property Comment As String
'使用
Dim instance As Signature
Dim value As String
value = instance.Comment
[DispIdAttribute(1)]
string Comment { get; }
例
次の例では、SignatureObject オブジェクトの Comment プロパティをメッセージ ボックスに表示しています。
public void DisplaySignatureProperties()
{
SignatureObject mySignature = thisXDocument.SignedDataBlocks[0].Signatures[0];
string signatureComment = mySignature.Comment;
thisXDocument.UI.Alert("Comment = " + signatureComment);
}
関連項目
参照
Signature インターフェイス
Signature のメンバ
Microsoft.Office.Interop.InfoPath 名前空間