GrapeCity MultiRow Windows Forms Documentation
IndexOf Method (ListLabelCell.ObjectCollection)


An object representing the item to locate in the collection.
Retrieves the index within the collection of the specified item.
Syntax
Public Function IndexOf( _
   ByVal value As Object _
) As Integer
Dim instance As ListLabelCell.ObjectCollection
Dim value As Object
Dim value As Integer
 
value = instance.IndexOf(value)
public int IndexOf( 
   object value
)

Parameters

value
An object representing the item to locate in the collection.

Return Value

The zero-based index of the value parameter if it is found in the collection; otherwise, -1.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe value parameter is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListLabelCell.ObjectCollection Class
ListLabelCell.ObjectCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.