SwebControlCollectionAddRange 方法 |
将控件对象数组添加到集合中。
命名空间:
Swebui.Controls
程序集:
Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.133.17134+2c49d126d464232ac9a5157f96561862d8e39182
语法public void AddRange(
SwebControl[] ctls
)
Public Sub AddRange (
ctls As SwebControl()
)
参数
- ctls
- 类型:Swebui.ControlsSwebControl
要添加到集合的 Control 对象的数组。
备注
将 controls 数组中包含的 Control 对象追加到集合的结尾。
可以使用 AddRange 方法将一组 Control 对象迅速添加到集合,而不是通过使用 Add 方法将每个 Control 手动添加到集合中。
若要移除以前添加的 Control,请使用 Remove、RemoveAt 或 Clear 方法。
参见