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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.