WebFormsRootDesigner.SetControlID(Control, String) Metod

Definition

Anger egenskapen för ID den angivna kontrollen med den angivna strängen.

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)

Parametrar

control
Control

Den kontroll som ID:t ska anges på.

id
String

Strängen som ska anges som ID för kontrollen.

Gäller för

Se även