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


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

Parameters

value
An object that represents 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 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

DomainUpDownCell.ObjectCollection Class
DomainUpDownCell.ObjectCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.