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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.