SwebControlCollectionRemove 方法 (String) |
从窗体中移除指定名称的控件。
命名空间:
Swebui.Controls
程序集:
Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.134.17496+387d83fa8d4800e0d3012f4c3e32d7e2fc10ae68
语法public void Remove(
string name
)
Public Sub Remove (
name As String
)
参数
- name
- 类型:SystemString
要从窗体中移除的 SwebControl 名称
备注
可以使用此方法移除窗体中不再需要的控件。如果要在移除某控件后显示它,将需要使用 Add 方法将该控件重新添加到窗体中。若要使控件保留在窗体上但不显示,请使用该控件的 Visible 属性。
参见