HierarchicalDataSourceControl.FindControl(String) 方法

定義

在目前命名容器搜尋具有指定 id 參數的伺服器控制項。

public:
 override System::Web::UI::Control ^ FindControl(System::String ^ id);
public override System.Web.UI.Control FindControl (string id);
override this.FindControl : string -> System.Web.UI.Control
Public Overrides Function FindControl (id As String) As Control

參數

id
String

所要尋找的控制項識別項。

傳回

Control

指定的控制項,如果指定的控制項不存在,則為 null

適用於