ArcFM Desktop Developer Guide
IndexOf Method (DropDownItemCollection)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Returns the index of the drop down item in the collection or -1 if not found in the collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal dropDownItem As DropDownItem _
) As Integer
'Usage
 
Dim instance As DropDownItemCollection
Dim dropDownItem As DropDownItem
Dim value As Integer
 
value = instance.IndexOf(dropDownItem)
public int IndexOf( 
   DropDownItem dropDownItem
)

Parameters

dropDownItem
The item to find its index in the collection.

Return Value

The index of the item or -1 if the item was not found.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DropDownItemCollection Class
DropDownItemCollection Members

 

 


Send Comment