ListBox.IntegerCollection.IList.Contains(Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷指定的制表音符是否在集合中。
virtual bool System.Collections.IList.Contains(System::Object ^ item) = System::Collections::IList::Contains;
bool IList.Contains(object item);
bool IList.Contains(object? item);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (item As Object) As Boolean Implements IList.Contains
參數
- item
- Object
傳回
true若項目為整數,則位於整數集合中;否則,。 false
實作
備註
此成員為明確介面成員實作。 它只能在實 ListBox.IntegerCollection 例投射到 IList 介面時使用。