Bewerken

Delen via


Xml.FindControl(String) Method

Definition

Searches the page naming container for the specified server control.

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

Parameters

id
String

The identifier for the control to be found.

Returns

The specified control; otherwise, null if the specified control does not exist.

Applies to

See also