Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetReader.ReadContentAsBoolean() Method
See Also 
Noemax.FastInfoset Assembly > Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : ReadContentAsBoolean Method



Reads the content at the current position as a boolean value.


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public NotOverridable Function ReadContentAsBoolean() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim value As Boolean
 
value = instance.ReadContentAsBoolean()
C# 
public override bool ReadContentAsBoolean()
C++/CLI 
public:
bool ReadContentAsBoolean(); override 

Return Value

The content as a boolean value.

Remarks

If the content is a binary encoded boolean value, the reader returns the value read. If the content is of any other type, the reader attempts to convert it to a boolean value.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in System.Xml.XmlReader