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


IXMLTypeMapper.ToFloat Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLTypeMapper Interface > IXMLTypeMapper.ToFloat Method
ArcGIS Developer Help

IXMLTypeMapper.ToFloat Method

Converts an XML float to a float.

[Visual Basic .NET]
Public Function ToFloat ( _
    ByVal Text As String _
) As Single
[C#]
public float ToFloat (
    string Text
);
[C++]
HRESULT ToFloat(
  BSTR Text
);
[C++]
Parameters
Text [in]

Text is a parameter of type BSTR

Product Availability

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

See Also

IXMLTypeMapper Interface