WebFormsRootDesigner.SetControlID(Control, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.