Transform.Context 属性

定义

获取或设置一个 XmlElement 对象,该对象表示当前 Transform 对象运行的文档上下文。

public:
 property System::Xml::XmlElement ^ Context { System::Xml::XmlElement ^ get(); void set(System::Xml::XmlElement ^ value); };
public System.Xml.XmlElement Context { get; set; }
public System.Xml.XmlElement? Context { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Xml.XmlElement Context { get; set; }
member this.Context : System.Xml.XmlElement with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Context : System.Xml.XmlElement with get, set
Public Property Context As XmlElement

属性值

一个 XmlElement 对象,表示当前 Transform 对象运行的文档上下文。

属性

注解

对文档进行签名时, Context 属性表示传递给 SignedXml 构造函数的值。 验证文档时, Context 属性表示 Signature 对象。

属性 Context 在签名计算和检查期间自动设置,但在调用转换之前。

适用于