XmlDictionaryWriter.CreateDictionaryWriter(XmlWriter) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從現有的 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
參數
傳回
XmlDictionaryWriter 的執行個體。
例外狀況
writer
為 null
。