System.Web.UI.AttributeCollection.Keys Property

Gets a collection of keys to all attributes in the server control's System.Web.UI.AttributeCollection object.

Syntax

public ICollection Keys { get; }

Value

a ICollection

Remarks

This property contains all the keys that are in the System.Web.UI.AttributeCollection of an ASP.NET server control, whether you have added them programmatically with the AttributeCollection.Add(string, string) method, or declaratively.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0