IAttributeAccessor.SetAttribute Method

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

 

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)

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 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:
© 2016 Microsoft