Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a bool object.
The element content as a bool object.
This method reads the start tag, the contents of the element, and moves the reader past the end element tag. It expands entities and ignores processing instructions and comments. The element can only contain simple content. That is, it cannot have child elements.
If the content is typed xsd:boolean, the reader returns an unboxed bool object. If the content is not typed xsd:boolean, the reader attempts to convert it to a bool object according to the rules defined by the tp://go.microsoft.com/fwlink/?LinkId=4871 recommendation.
For more information, see Reading Typed Data.