IHtmlControlDesignerBehavior.GetStyleAttribute 方法

定义

获取指定的样式属性。

public:
 System::Object ^ GetStyleAttribute(System::String ^ attribute, bool designTimeOnly, bool ignoreCase);
public object GetStyleAttribute(string attribute, bool designTimeOnly, bool ignoreCase);
abstract member GetStyleAttribute : string * bool * bool -> obj
Public Function GetStyleAttribute (attribute As String, designTimeOnly As Boolean, ignoreCase As Boolean) As Object

参数

attribute
String

要检索的样式属性。

designTimeOnly
Boolean

true 如果特性仅在设计时处于活动状态,则为否则,为 false.

ignoreCase
Boolean

true 如果属性语法不区分大小写,否则,为 false.

返回

检索的样式属性。

注解

注释

该方法 GetStyleAttribute 已过时。 将GetDesignTimeCssAttributesContainerControlDesigner类上的方法用于等效的控件设计器功能。

适用于

另请参阅