IHtmlControlDesignerBehavior.SetAttribute(String, Object, Boolean) Method

Definition

Sets the specified attribute to the specified object.

C#
public void SetAttribute(string attribute, object value, bool ignoreCase);

Parameters

attribute
String

The attribute to set.

value
Object

The object on which to set the attribute.

ignoreCase
Boolean

true if the attribute syntax is case-insensitive; otherwise, false.

Remarks

Nota

The SetAttribute method is obsolete. Use the SetAttribute method on the Tag property of the ControlDesigner class for equivalent control designer functionality.

Applies to

Produto Versións
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also