ArcObjects Library Reference (DataSourcesNetCDF)  

INetCDFWorkspace.GetIndexFromValue Method

Return the index of a specified variable or dimension value.

[Visual Basic .NET]
Public Function GetIndexFromValue ( _
    ByVal name As String, _
    ByVal value As Object _
) As Integer
[C#]
public int GetIndexFromValue (
    string name,
    object value
);
[C++]
HRESULT GetIndexFromValue(
  BSTR name,
  VARIANT value,
  long* index
);
[C++]

Parameters

name [in]   name is a parameter of type BSTR value [in]   value is a parameter of type VARIANT index [out, retval]   index is a parameter of type long

Product Availability

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

See Also

INetCDFWorkspace Interface