Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlSerializationReader::ReadXmlDocument Method (Boolean)

 

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

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

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

protected:
XmlDocument^ ReadXmlDocument(
	bool wrapped
)

Parameters

wrapped
Type: System::Boolean

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

Return Value

Type: System.Xml::XmlDocument^

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

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft