Share via


ComponentTray.CanCreateComponentFromTool(ToolboxItem) Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Ottiene un valore che indica se è possibile utilizzare lo strumento specificato per creare un nuovo componente.

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

Parametri

tool
ToolboxItem

Oggetto ToolboxItem da verificare.

Restituisce

Boolean

true se è possibile utilizzare lo strumento specificato per creare un componente; in caso contrario, false.

Attributi

Si applica a