ToolboxCategory.IList.Contains(Object) 方法

定义

确定 ToolboxCategory 是否包含特定工具。Determines whether the ToolboxCategory 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.

返回

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

实现

异常

valuenullThe value is null.

注解

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

适用于