FastInfoset.NET Class Reference for .NET
ReadContentAsBoolean Method (XmlFastInfosetReader)






Reads the content at the current position as a boolean value.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ReadContentAsBoolean() As System.Boolean
'Usage
 
Dim instance As XmlFastInfosetReader
Dim value As System.Boolean
 
value = instance.ReadContentAsBoolean()
public override System.bool ReadContentAsBoolean()
public function ReadContentAsBoolean(): System.Boolean; override; 
public override function ReadContentAsBoolean() : System.boolean;
public: System.bool ReadContentAsBoolean(); override 
public:
System.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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in ReadContentAsBoolean

Send Feedback