Reference.LoadXml(XmlElement) 方法

定義

從 XML 元素載 Reference 入狀態。

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)

參數

value
XmlElement

用來載入 Reference 狀態的 XML 元素。

屬性

例外狀況

參數 valuenull

參數 value 不包含任何轉換。

-或-

value 參數包含一個未知的轉換。

適用於