IHtmlControlDesignerBehavior.GetAttribute(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定的属性。
public:
System::Object ^ GetAttribute(System::String ^ attribute, bool ignoreCase);
public object GetAttribute(string attribute, bool ignoreCase);
abstract member GetAttribute : string * bool -> obj
Public Function GetAttribute (attribute As String, ignoreCase As Boolean) As Object
参数
- attribute
- String
要检索的属性。
- ignoreCase
- Boolean
true 如果属性语法不区分大小写,否则,为 false.
返回
检索的属性。
注解
注释
该方法 GetAttribute 已过时。 对 GetAttribute 类的属性使用方法 Tag 实现等效控件 ControlDesigner 设计器功能。