IAttributeAccessor.GetAttribute Method
.NET Framework 3.0
When implemented by a class, retrieves the specified attribute property from the server control.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following code example demonstrates an implementation of the GetAttribute method.
// Implement the GetAttribute method for the control. When
// this method is called from a page, the values for the control's
// properties can be displayed in the page.
public String GetAttribute(String name)
{
return (String)(this.get_ViewState().get_Item(name));
} //GetAttribute
Community Additions
ADD
Show: