ArcObjects Library Reference  (DataSourcesFile)    

IArcInfoItems.FindItem Method

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

[Visual Basic 6.0]
Sub FindItem(
    ByVal Name As String, _
    index As Long _
)
[Visual Basic .NET]
Public Sub FindItem ( _
    ByVal Name As String, _
    ByRef index As Integer _
)
[C#]
public void FindItem (
    string Name,
    ref int index
);
[Java]
public void findItem (
    String Name,
    int index
)
throws
    IOException,
    AutomationException
[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