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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.