XmlSerializationReader.ReadXmlDocument Method (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Function ReadXmlDocument (
	wrapped As Boolean
) As XmlDocument

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: