CompositeCollection.Contains(Object) 方法

定义

检查给定项是否在此集合中。

public:
 virtual bool Contains(System::Object ^ containItem);
public bool Contains (object containItem);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (containItem As Object) As Boolean

参数

containItem
Object

要检查的项。

返回

如果集合包含给定项,则为 true;否则为 false

实现

适用于