Transform.Context Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Xml.XmlElement Context { get; set; }
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.