ArcObjects Library Reference (System)  

IXMLReader.ReadBoolean Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IXMLReader Interface