UserControl.IAttributeAccessor.GetAttribute(String) UserControl.IAttributeAccessor.GetAttribute(String) UserControl.IAttributeAccessor.GetAttribute(String) Method

Definition

Returns the value of the specified user control attribute.

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string name);
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute

Parameters

name
String String String

The name of the attribute to get the value of.

Returns

The value of the specified user control attribute.

Implements

Remarks

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

Applies to

See also