This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLReader Interface > IXMLReader.ReadBoolean Method (ArcObjects .NET 10.5 SDK) |
Reads the current element value as a boolean.
[Visual Basic .NET] Public Function ReadBoolean ( _ ) As Boolean
[C#] public bool ReadBoolean ( );
[C++]
HRESULT ReadBoolean(
VARIANT_BOOL* Value
);
[C++]
Parameters Value [out, retval] Value is a parameter of type VARIANT_BOOL
The ReadBoolean method specifies the current element value as a boolean.
Element value 1 or true will return boolean value of true, anything else will return false.