共用方式為


XmlSerializableServices.WriteNodes(XmlWriter, XmlNode[]) 方法

定義

使用指定的寫入器,寫入提供的節點。

public:
 static void WriteNodes(System::Xml::XmlWriter ^ xmlWriter, cli::array <System::Xml::XmlNode ^> ^ nodes);
public static void WriteNodes (System.Xml.XmlWriter xmlWriter, System.Xml.XmlNode?[]? nodes);
public static void WriteNodes (System.Xml.XmlWriter xmlWriter, System.Xml.XmlNode[] nodes);
static member WriteNodes : System.Xml.XmlWriter * System.Xml.XmlNode[] -> unit
Public Shared Sub WriteNodes (xmlWriter As XmlWriter, nodes As XmlNode())

參數

xmlWriter
XmlWriter

用於寫入的 XmlWriter

nodes
XmlNode[]

要寫入的 XmlNode 型別陣列。

例外狀況

xmlWriter 引數為 null

適用於