ToolboxCategoryItems.IList.Contains(Object) 方法

定义

确定 ToolboxCategoryItems 是否包含特定工具。Determines whether the ToolboxCategoryItems contains a specific tool.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

参数

value
Object

要在集合中查找的工具 ObjectThe tool Object to locate in the collection.

返回

如果在 ToolboxCategoryItems 中找到了 value,则为 true;否则为 falsetrue if the value is found in the ToolboxCategoryItems; otherwise, false.

实现

异常

valuenullThe value is null.

注解

ToolboxCategoryItems 实现 IList 接口。ToolboxCategoryItems implements the IList interface.

适用于