Obtains the name of the markup attribute associated with the specified System.Web.UI.HtmlTextWriterAttribute value.
- attrKey
The System.Web.UI.HtmlTextWriterAttribute to obtain the markup attribute name for.
![]()
A string containing the name of the markup attribute.
The HtmlTextWriter.GetAttributeName(HtmlTextWriterAttribute) method returns an empty string (""), if attrKey is not a valid System.Web.UI.HtmlTextWriterAttribute value.