IHtmlControlDesignerBehavior.SetAttribute(String, Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.