ToolboxCategoryItems.Contains(ToolboxCategory) 方法

定义

确定 ToolboxCategoryItems 集合中是否包含特定的工具箱类别项。

public:
 virtual bool Contains(System::Activities::Presentation::Toolbox::ToolboxCategory ^ item);
public bool Contains (System.Activities.Presentation.Toolbox.ToolboxCategory item);
abstract member Contains : System.Activities.Presentation.Toolbox.ToolboxCategory -> bool
override this.Contains : System.Activities.Presentation.Toolbox.ToolboxCategory -> bool
Public Function Contains (item As ToolboxCategory) As Boolean

参数

item
ToolboxCategory

要查找的工具箱类别项。

返回

如果在 ToolboxCategoryItems 中找到了 item,则为 true;否则为 false

实现

例外

itemnull

适用于