Muokkaa

Jaa


IHtmlControlDesignerBehavior.SetAttribute(String, Object, Boolean) Method

Definition

Sets the specified attribute to the specified object.

public:
 void SetAttribute(System::String ^ attribute, System::Object ^ value, bool ignoreCase);
public void SetAttribute (string attribute, object value, bool ignoreCase);
abstract member SetAttribute : string * obj * bool -> unit
Public Sub SetAttribute (attribute As String, value As Object, ignoreCase As Boolean)

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

Note

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

Applies to

See also