This document is archived and information here might be outdated.  Recommended version.


IJSONReader.ReadValueAsBoolean Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IJSONReader.ReadValueAsBoolean Method

Obtains array or property value as boolean. Advances to the next token. If property value cannot be coerced to boolean, returns E_FAIL.

[Visual Basic .NET]
Public Function ReadValueAsBoolean ( _
) As Boolean
[C#]
public bool ReadValueAsBoolean (
);
[C++]
HRESULT ReadValueAsBoolean(
  VARIANT_BOOL* pVal
);
[C++]

Parameters pVal [out, retval] pVal is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IJSONReader Interface