Convert units of string value to double. Example: '55 ft'. If the unit suffix string is missing, the default unit is used.
[Visual Basic .NET] Public Function ConvertString ( _ ByVal val As String, _ ByVal defaultUnit As esriCadastralDistanceUnits, _ ByVal outputUnit As esriCadastralDistanceUnits _ ) As Double
[C#] public double ConvertString ( string val, esriCadastralDistanceUnits defaultUnit, esriCadastralDistanceUnits outputUnit );
[C++]
HRESULT ConvertString(
BSTR val,
esriCadastralDistanceUnits defaultUnit,
esriCadastralDistanceUnits outputUnit,
double* pVal
);
[C++]Parameters
val [in] val is a parameter of type BSTR defaultUnit [in]defaultUnit is a parameter of type esriCadastralDistanceUnits
outputUnit [in]outputUnit is a parameter of type esriCadastralDistanceUnits
pVal [out, retval] pVal is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.