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


IMultidimensionalInfo.ConvertStringToDimensionValue Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMultidimensionalInfo.ConvertStringToDimensionValue Method

Returns the numeric form of the dimension value given it's textual representation.

[Visual Basic .NET]
Public Function ConvertStringToDimensionValue ( _
    ByVal bsDimensionName As String, _
    ByVal bsVariableName As String, _
    ByVal bsDimensionStringValue As String _
) As Double
[C#]
public double ConvertStringToDimensionValue (
    string bsDimensionName,
    string bsVariableName,
    string bsDimensionStringValue
);
[C++]
HRESULT ConvertStringToDimensionValue(
  BSTR bsDimensionName,
  BSTR bsVariableName,
  BSTR bsDimensionStringValue,
  double* pDimensionValue
);
[C++]

Parameters bsDimensionName [in] bsDimensionName is a parameter of type BSTR bsVariableName [in] bsVariableName is a parameter of type BSTR bsDimensionStringValue [in] bsDimensionStringValue is a parameter of type BSTR pDimensionValue [out, retval] pDimensionValue is a parameter of type double

Product Availability

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

See Also

IMultidimensionalInfo Interface