ToolBar.ToolBarButtonCollection.RemoveByKey(String) Metoda

Definicja

Usuwa element ToolBarButton z określonym kluczem z kolekcji.

public:
 virtual void RemoveByKey(System::String ^ key);
public virtual void RemoveByKey (string key);
abstract member RemoveByKey : string -> unit
override this.RemoveByKey : string -> unit
Public Overridable Sub RemoveByKey (key As String)

Parametry

key
String

Nazwa obiektu ToolBarButton do usunięcia z kolekcji.

Uwagi

Właściwość Name odpowiada kluczowi obiektu ToolBarButton w obiekcie ToolBar.ToolBarButtonCollection.

Dotyczy