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