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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.