Signature.Comment 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取文本注释,该注释已添加到与表单或表单中的一组签名数据相关联的数字签名中。
public:
property System::String ^ Comment { System::String ^ get(); };
public string Comment { get; }
member this.Comment : string
Public ReadOnly Property Comment As String
属性值
示例
在以下示例中,对象的 Comment 属性 SignatureObject 显示在消息框中:
public void DisplaySignatureProperties()
{
SignatureObject mySignature = thisXDocument.SignedDataBlocks[0].Signatures[0];
string signatureComment = mySignature.<span class="label">Comment</span>;
thisXDocument.UI.Alert("Comment = " + signatureComment);
}
注解
重要提示:此成员只能由与当前打开的窗体在同一域中运行的表单访问,或者由已授予跨域权限的表单访问。