Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / Contains(SmartItem) Method
A reference to the SmartItem object to locate


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

    Parameters

    item
    A reference to the SmartItem object to locate

    Return Value

    true if the SmartItem exists in the collection; 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