AdRotator.TagKey Property


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

Gets the HTML tag for the AdRotator control.

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

protected override HtmlTextWriterTag TagKey { get; }

Property Value

Type: System.Web.UI.HtmlTextWriterTag

An HtmlTextWriterTag enumeration value representing the HTML tag for an AdRotator control.

This property is used primarily by control developers.

Use the TagKey property to determine the HtmlTextWriterTag value associated with an AdRotator control. This property overrides the base implementation to always return HtmlTextWriterTag.A.

.NET Framework
Available since 2.0
Return to top