通过


IHtmlControlDesignerBehavior.GetAttribute(String, Boolean) 方法

定义

获取指定的属性。

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 设计器功能。

适用于

另请参阅