UserControl.IAttributeAccessor.SetAttribute Method (String, String)

 
System_CAPS_noteNote

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

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

Sets the value of the specified user control attribute.

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

void IAttributeAccessor.SetAttribute(
	string name,
	string value
)

Parameters

name
Type: System.String

The name of the attribute to set.

value
Type: System.String

The value of the attribute to set.

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

.NET Framework
Available since 1.1
Return to top
Show: