CheckedListBox.CheckedItemCollection.Contains(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified item is located in the collection.
public:
virtual bool Contains(System::Object ^ item);
public bool Contains (object item);
public bool Contains (object? item);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (item As Object) As Boolean
Parameters
- item
- Object
An object from the items collection.
Returns
true
if item is in the collection; otherwise, false
.
Implements
Remarks
This method determines if an object from the Items collection is in the CheckedItems collection.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.