语言

XmlDictionaryWriter.WriteNode 方法

定义

从给定 XmlDictionaryReader 或 XmlReader.

重载

名称 说明
WriteNode(XmlReader, Boolean)

从 XmlReader.. 写入当前 XML 节点。

WriteNode(XmlDictionaryReader, Boolean)

从 XmlDictionaryReader.. 写入当前 XML 节点。

WriteNode(XmlReader, Boolean)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

从 XmlReader.. 写入当前 XML 节点。

public:
 override void WriteNode(System::Xml::XmlReader ^ reader, bool defattr);
public override void WriteNode(System.Xml.XmlReader reader, bool defattr);
override this.WriteNode : System.Xml.XmlReader * bool -> unit
Public Overrides Sub WriteNode (reader As XmlReader, defattr As Boolean)

参数

reader
XmlReader

。XmlReader

defattr
Boolean

如果从 <a0/> 复制默认属性,则为 ;否则为 。

例外

reader 是 null。

适用于

WriteNode(XmlDictionaryReader, Boolean)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

从 XmlDictionaryReader.. 写入当前 XML 节点。

public:
 virtual void WriteNode(System::Xml::XmlDictionaryReader ^ reader, bool defattr);
public virtual void WriteNode(System.Xml.XmlDictionaryReader reader, bool defattr);
override this.WriteNode : System.Xml.XmlDictionaryReader * bool -> unit
Public Overridable Sub WriteNode (reader As XmlDictionaryReader, defattr As Boolean)

参数

defattr
Boolean

如果从 <a0/> 复制默认属性,则为 ;否则为 。

例外

reader 是 null。

适用于