ActivityDesigner.IToolboxUser.GetToolSupported(ToolboxItem) ActivityDesigner.IToolboxUser.GetToolSupported(ToolboxItem) Method

定義

判斷目前的活動設計工具是否支援指定的工具箱項目。Determines whether the specified Toolbox item is supported by the current activity designer.

 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);

參數

toolboxItem
ToolboxItem ToolboxItem

要測試是否支援的 ToolboxItemThe ToolboxItem to test for support.

傳回

如果工具箱支援該工具則為 true,否則為 falsetrue if the tool is supported by the toolbox and can be enabled; otherwise, false.

實作

備註

如需詳細資訊,請參閱GetToolSupportedFor more information, see GetToolSupported.

適用於