ToolStripItemCollection.RemoveByKey(String) 메서드

정의

지정된 키를 가진 항목을 제거합니다.

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)

매개 변수

key
String

제거할 ToolStripItem의 키입니다.

예외

ToolStripItemCollection이 읽기 전용인 경우

설명

합니다 key 매개 변수 값에 해당 하는 ToolStripItem.Name 속성입니다.

적용 대상