ComponentTray.CanCreateComponentFromTool(ToolboxItem) Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Ottiene un valore che indica se lo strumento specificato può essere utilizzato 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 testare.

Valori restituiti

true se lo strumento specificato può essere usato per creare un componente; in caso contrario, false.

Attributi

Si applica a