SwebControlCollectionFind 方法 |
根据控件的 Smobiler.PC.Control.Name 属性搜索控件并返回匹配项。
命名空间:
Swebui.Controls
程序集:
Swebui.Core (在 Swebui.Core.dll 中) 版本:1.0.133.17134+2c49d126d464232ac9a5157f96561862d8e39182
语法public SwebControl Find(
string name,
bool childControl = false
)
Public Function Find (
name As String,
Optional childControl As Boolean = false
) As SwebControl
参数
- name
- 类型:SystemString
控件名称 - childControl (Optional)
- 类型:SystemBoolean
是否在子控件中查找
返回值
类型:
SwebControl查找到的控件,若不存在指定控件的名称,返回null
备注
参见