Επεξεργασία

Κοινή χρήση μέσω


XmlSerializationReader.ReadXmlDocument(Boolean) Method

Definition

Instructs the XmlReader to read an XML document root element at its current position.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 System::Xml::XmlDocument ^ ReadXmlDocument(bool wrapped);
protected System.Xml.XmlDocument? ReadXmlDocument (bool wrapped);
protected System.Xml.XmlDocument ReadXmlDocument (bool wrapped);
member this.ReadXmlDocument : bool -> System.Xml.XmlDocument
Protected Function ReadXmlDocument (wrapped As Boolean) As XmlDocument

Parameters

wrapped
Boolean

true if the method should read content only after reading the element's start element; otherwise, false.

Returns

An XmlDocument that contains the root element that has been read.

Remarks

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Applies to