XmlDictionaryReader.CreateDictionaryReader(XmlReader) XmlDictionaryReader.CreateDictionaryReader(XmlReader) XmlDictionaryReader.CreateDictionaryReader(XmlReader) XmlDictionaryReader.CreateDictionaryReader(XmlReader) Method

定义

从现有的 XmlDictionaryReader 创建 XmlReader 的实例。Creates an instance of XmlDictionaryReader from an existing XmlReader.

public:
 static System::Xml::XmlDictionaryReader ^ CreateDictionaryReader(System::Xml::XmlReader ^ reader);
public static System.Xml.XmlDictionaryReader CreateDictionaryReader (System.Xml.XmlReader reader);
static member CreateDictionaryReader : System.Xml.XmlReader -> System.Xml.XmlDictionaryReader
Public Shared Function CreateDictionaryReader (reader As XmlReader) As XmlDictionaryReader

参数

reader
XmlReader XmlReader XmlReader XmlReader

XmlReader 的一个实例。An instance of XmlReader.

返回

异常

适用于