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


IArcInfoItems.FindItem Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesFile)  

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,
  long* 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