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


IArcInfoItems.FindItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IA > IArcInfoItems Interface > IArcInfoItems.FindItem Method
ArcGIS Developer Help

IArcInfoItems.FindItem Method

Finds the index of the specified Item in the Items Collection.

[Visual Basic .NET]
Public Sub FindItem ( _
    ByVal Name As String, _
    ByRef index As Integer _
)
[C#]
public void FindItem (
    string Name,
    ref int index
);
[C++]
HRESULT FindItem(
  BSTR Name,
  System.Int32* index
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR index [out]
index is a parameter of type long*

Product Availability

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

See Also

IArcInfoItems Interface