ActivityToolboxItem.GetToolboxImage(Type) 方法

定义

获取用于表示工具箱中的工具箱项的关联图像。Gets the associated Image that is used to represent the Toolbox item in the Toolbox.

public:
 static System::Drawing::Image ^ GetToolboxImage(Type ^ activityType);
public static System.Drawing.Image GetToolboxImage (Type activityType);
static member GetToolboxImage : Type -> System.Drawing.Image
Public Shared Function GetToolboxImage (activityType As Type) As Image

参数

activityType
Type

要检索其工具箱图像的 Activity 的类型。The type of the Activity to retrieve the Toolbox image for.

返回

Image

在工具箱中显示的工具箱项的图像对象Image object displayed in the Toolbox for a Toolbox item

适用于