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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.