UserControl::IAttributeAccessor::SetAttribute Method (String^, String^)
.NET Framework (current version)
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.
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
Available since 1.1
Show: