Transform.Context Property

Definition

Gets or sets an XmlElement object that represents the document context under which the current Transform object is running.

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

Property Value

An XmlElement object that represents the document context under which the current Transform object is running.

Attributes

Remarks

When signing a document, the Context property represents the value passed to the SignedXml constructor. When verifying a document, the Context property represents Signature object.

The Context property is set automatically during signature computation and checking, but before transforms are invoked.

Applies to