This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLTypeMapper Interface > IXMLTypeMapper.ToBoolean Method (ArcObjects .NET 10.4 SDK) |
Converts an XML boolean to a boolean.
[Visual Basic .NET] Public Function ToBoolean ( _ ByVal Text As String _ ) As Boolean
[C#] public bool ToBoolean ( string Text );
[C++]
HRESULT ToBoolean(
BSTR Text,
VARIANT_BOOL* Value
);
[C++]
Parameters Text [in] Text is a parameter of type BSTR Value [out, retval] Value is a parameter of type VARIANT_BOOL