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 會在簽章計算和檢查期間自動設定,但在叫用轉換之前。

適用於