Spread Windows Forms 11.0 Product Documentation
IndexOf Method (FpScrollBarButtonCollection)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpScrollBarButtonCollection Class : IndexOf Method
The System.Object to locate in the System.Collections.IList
Determines the index of a specific item in the System.Collections.IList.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal value As Object _
) As Integer
'Usage
 
Dim instance As FpScrollBarButtonCollection
Dim value As Object
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   object value
)

Parameters

value
The System.Object to locate in the System.Collections.IList

Return Value

The index of value if found in the list; otherwise, -1.
See Also

Reference

FpScrollBarButtonCollection Class
FpScrollBarButtonCollection Members