Reads the value and returns it as a bool.
[Visual Basic] Overridable Public Function ReadBoolean() As Boolean [C#] public virtual bool ReadBoolean(); [C++] public: virtual bool ReadBoolean(); [JScript] public function ReadBoolean() : Boolean;
The value as a bool.
Exception Type | Condition |
---|---|
FormatException | Value cannot be converted to bool. |
XmlReader Class | XmlReader Members | System.NewXml Namespace