ESRI.ArcGIS.ADF.Web.UI.WebControls
Contains Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DropDownBoxItemCollection Class : Contains Method




item
Item to search for.
Indicates whether the collection contains the item.

Syntax

Visual Basic (Declaration) 
Public Function Contains( _
   ByVal item As ListItem _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DropDownBoxItemCollection
Dim item As ListItem
Dim value As Boolean
 
value = instance.Contains(item)
C# 
public bool Contains( 
   ListItem item
)

Parameters

item
Item to search for.

Return Value

Whether the item was found.

See Also

© 2010 All Rights Reserved.