แก้ไข

แชร์ผ่าน


WebFormsRootDesigner.SetControlID(Control, String) Method

Definition

Sets the ID property of the specified control with the specified string.

public:
 virtual void SetControlID(System::Web::UI::Control ^ control, System::String ^ id);
public virtual void SetControlID (System.Web.UI.Control control, string id);
abstract member SetControlID : System.Web.UI.Control * string -> unit
override this.SetControlID : System.Web.UI.Control * string -> unit
Public Overridable Sub SetControlID (control As Control, id As String)

Parameters

control
Control

The control on which to set the ID.

id
String

The string to set as the ID for the control.

Applies to

See also