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

适用于