Control.ControlCollection.RemoveByKey(String) 메서드

정의

지정된 키를 갖는 자식 컨트롤을 제거합니다.

public:
 virtual void RemoveByKey(System::String ^ key);
public virtual void RemoveByKey (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

제거할 자식 컨트롤의 이름입니다.

설명

Control 속성은 Name 에 있는 키에 Control Control.ControlCollection해당합니다.

적용 대상