Compartir vía


ComponentTray.CanCreateComponentFromTool(ToolboxItem) Método

Definición

Importante

Esta API no es conforme a CLS.

Obtiene un valor que indica si la herramienta especificada se puede utilizar para crear un componente nuevo.

protected:
 virtual bool CanCreateComponentFromTool(System::Drawing::Design::ToolboxItem ^ tool);
protected virtual bool CanCreateComponentFromTool (System.Drawing.Design.ToolboxItem tool);
[System.CLSCompliant(false)]
protected virtual bool CanCreateComponentFromTool (System.Drawing.Design.ToolboxItem tool);
abstract member CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
override this.CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
[<System.CLSCompliant(false)>]
abstract member CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
override this.CanCreateComponentFromTool : System.Drawing.Design.ToolboxItem -> bool
Protected Overridable Function CanCreateComponentFromTool (tool As ToolboxItem) As Boolean

Parámetros

tool
ToolboxItem

ToolboxItem que se va a probar.

Devoluciones

Boolean

Es true si la herramienta especificada se puede utilizar para crear un componente; en caso contrario, es false.

Atributos

Se aplica a