This document is archived and information here might be outdated. Recommended version. |
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
);
[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