XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter) 方法

定义

从现有的 XmlDictionaryWriter 创建 XmlWriter 的实例。

public:
 static System::Xml::XmlDictionaryWriter ^ CreateDictionaryWriter(System::Xml::XmlWriter ^ writer);
public static System.Xml.XmlDictionaryWriter CreateDictionaryWriter (System.Xml.XmlWriter writer);
static member CreateDictionaryWriter : System.Xml.XmlWriter -> System.Xml.XmlDictionaryWriter
Public Shared Function CreateDictionaryWriter (writer As XmlWriter) As XmlDictionaryWriter

参数

writer
XmlWriter

XmlWriter 的一个实例。

返回

XmlDictionaryWriter 的一个实例。

例外

writernull

适用于