UserControl::IAttributeAccessor::GetAttribute Method (String^)


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)

virtual String^ GetAttribute(
	String^ name
) sealed = IAttributeAccessor::GetAttribute


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