ActivityDesigner.IToolboxUser.GetToolSupported(ToolboxItem) 方法

定义

确定当前活动设计器是否支持指定的工具箱项。

 virtual bool System.Drawing.Design.IToolboxUser.GetToolSupported(System::Drawing::Design::ToolboxItem ^ toolboxItem) = System::Drawing::Design::IToolboxUser::GetToolSupported;
bool IToolboxUser.GetToolSupported (System.Drawing.Design.ToolboxItem toolboxItem);
abstract member System.Drawing.Design.IToolboxUser.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
override this.System.Drawing.Design.IToolboxUser.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
Function GetToolSupported (toolboxItem As ToolboxItem) As Boolean Implements IToolboxUser.GetToolSupported

参数

toolboxItem
ToolboxItem

要测试其是否受支持的 ToolboxItem

返回

Boolean

如果工具箱支持该工具并且可启用该工具,则为 true;否则为 false

实现

注解

有关详细信息,请参阅 GetToolSupported

适用于