XmlSerializationReader.ReadNull Method ()


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

Instructs the XmlReader to read the current XML element if the element has a null attribute with the value true.

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

protected bool ReadNull()

Return Value

Type: System.Boolean

true if the element has a null="true" attribute value and has been read; otherwise, false.

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
Available since 2.0
Return to top