HtmlControl::IAttributeAccessor::SetAttribute Method (String^, String^)

 

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)

private:
virtual void SetAttribute(
	String^ name,
	String^ value
) sealed = IAttributeAccessor::SetAttribute

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: