Export (0) Print
Expand All

HtmlControl.IAttributeAccessor.SetAttribute Method

This API supports the .NET Framework 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.

Implements

IAttributeAccessor.SetAttribute(String, String)

The 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft