Edit

Share via


Reference.LoadXml(XmlElement) Method

Definition

Loads a Reference state from an XML element.

public:
 void LoadXml(System::Xml::XmlElement ^ value);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")]
public void LoadXml(System.Xml.XmlElement value);
public void LoadXml(System.Xml.XmlElement value);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The algorithm implementations referenced in the XML payload might be removed. Ensure the required algorithm implementations are preserved in your application.")>]
member this.LoadXml : System.Xml.XmlElement -> unit
member this.LoadXml : System.Xml.XmlElement -> unit
Public Sub LoadXml (value As XmlElement)

Parameters

value
XmlElement

The XML element from which to load the Reference state.

Attributes

Exceptions

The value parameter is null.

The value parameter does not contain any transforms.

-or-

The value parameter contains an unknown transform.

Applies to