Breyta

Deila með


UserControl.IAttributeAccessor.SetAttribute(String, String) Method

Definition

Sets the value of the specified user control attribute.

 virtual void System.Web.UI.IAttributeAccessor.SetAttribute(System::String ^ name, System::String ^ value) = System::Web::UI::IAttributeAccessor::SetAttribute;
void IAttributeAccessor.SetAttribute (string name, string value);
abstract member System.Web.UI.IAttributeAccessor.SetAttribute : string * string -> unit
override this.System.Web.UI.IAttributeAccessor.SetAttribute : string * string -> unit
Sub SetAttribute (name As String, value As String) Implements IAttributeAccessor.SetAttribute

Parameters

name
String

The name of the attribute to set.

value
String

The value of the attribute to set.

Implements

Remarks

Use the IAttributeAccessor.SetAttribute method to set the value of control attributes that are not exposed as properties on the control.

Applies to

See also