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


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class > Find Method : Find(Object,String) Method
The value to find.
The names of the column in which to search for value.
Searches for specific value in a column.
Syntax
'Declaration
 
Public Overloads Function Find( _
   ByVal value As Object, _
   ByVal columnName As String _
) As Integer
'Usage
 
Dim instance As WinComboBox
Dim value As Object
Dim columnName As String
Dim value As Integer
 
value = instance.Find(value, columnName)
public int Find( 
   object value,
   string columnName
)

Parameters

value
The value to find.
columnName
The names 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