GenericWebPart.ID Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the ID of a control. This value is not inheritable.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public override sealed string ID { get; set; }

Property Value

Type: System.String

A string that contains the ID of the control.

.NET Framework
Available since 2.0
Return to top