Edit

Share via


CipherData.LoadXml(XmlElement) Method

Definition

Loads XML data from an XmlElement into a CipherData object.

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

An XmlElement that represents the XML data to load.

Attributes

Exceptions

The value parameter is null.

The CipherValue property and the CipherReference property are null.

Remarks

The LoadXml method overwrites existing XML elements with the value parameter.

Applies to