Xceed Grid for WinForms v4.3 Documentation
Find(Object,Int32,String) Method


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class > Find Method : Find(Object,Int32,String) Method
The value to find.
The zero-based index at which to start searching.
The name of the column in which to search for value.
Searches for specific value in a column at the specified starting index.
Syntax
'Declaration
 
Public Overloads Function Find( _

   ByVal value As Object, _

   ByVal startIndex As Integer, _

   ByVal columnName As String _

) As Integer
'Usage
 
Dim instance As WinComboBox

Dim value As Object

Dim startIndex As Integer

Dim columnName As String

Dim value As Integer

 

value = instance.Find(value, startIndex, columnName)
public int Find( 

   object value,

   int startIndex,

   string columnName

)

Parameters

value
The value to find.
startIndex
The zero-based index at which to start searching.
columnName
The name of the column in which to search for value.

Return Value

The zero-based index of the first occurrence of value in columnName. If -1, the value was not found.
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

WinComboBox Class
WinComboBox Members
Overload List