Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Editors Namespace / ComboBoxItemList Class / Contains Method / Contains(ComboBoxItem) Method
The ComboBoxItem to locate.


In This Topic
    Contains(ComboBoxItem) Method
    In This Topic
    Retrieves a boolean value indicating if the item exists in the list.
    Syntax
    'Declaration
     
    Public Overloads Function Contains( _
       ByVal item As ComboBoxItem _
    ) As Boolean
    'Usage
     
    Dim instance As ComboBoxItemList
    Dim item As ComboBoxItem
    Dim value As Boolean
     
    value = instance.Contains(item)
    public bool Contains( 
       ComboBoxItem item
    )

    Parameters

    item
    The ComboBoxItem to locate.

    Return Value

    true if the ComboBoxItem is found in the list; false otherwise.
    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