ID Property
.NET Framework Class Library
ControlDesigner..::.ID Property

Gets or sets the ID string for the control.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)
Visual Basic (Declaration)
Public Overridable Property ID As String
Visual Basic (Usage)
Dim instance As ControlDesigner
Dim value As String

value = instance.ID

instance.ID = value
C#
public virtual string ID { get; set; }
Visual C++
public:
virtual property String^ ID {
    String^ get ();
    void set (String^ value);
}
JScript
public function get ID () : String
public function set ID (value : String)

Property Value

Type: System..::.String
The ID string for the control.

The ID property is used internally within the control designer and for interaction with the Properties window. The ID property shadows the run-time ID property.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker