HtmlControl.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.

For a description of this member, see IAttributeAccessor.SetAttribute.

Namespace:   System.Web.UI.HtmlControls
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 to set the attribute to.

The IAttributeAccessor.SetAttribute method calls the SetAttribute method.

This member is an explicit interface member implementation. It can be used only when the HtmlControl instance is cast to an IAttributeAccessor interface.

.NET Framework
Available since 1.1
Return to top
Show: