This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesNetCDF > ESRI.ArcGIS.DataSourcesNetCDF > Interfaces > IN > INetCDFWorkspace Interface > INetCDFWorkspace.GetIndexFromValue Method (ArcObjects .NET 10.4 SDK) |
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