UserControl.IAttributeAccessor.GetAttribute Method (String)


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the value of the specified user control attribute.

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

string IAttributeAccessor.GetAttribute(
	string name


Type: System.String

The name of the attribute to get the value of.

Return Value

Type: System.String

The value of the specified user control attribute.

Use the IAttributeAccessor.GetAttribute method to get the value of control attributes that are not exposed as properties on the control.

.NET Framework
Available since 1.1
Return to top