This documentation is archived and is not being maintained.
IHtmlControlDesignerBehavior.SetStyleAttribute Method
.NET Framework 1.1
Sets the specified style attribute to the specified object.
[Visual Basic] Sub SetStyleAttribute( _ ByVal attribute As String, _ ByVal designTimeOnly As Boolean, _ ByVal value As Object, _ ByVal ignoreCase As Boolean _ ) [C#] void SetStyleAttribute( string attribute, bool designTimeOnly, object value, bool ignoreCase ); [C++] void SetStyleAttribute( String* attribute, bool designTimeOnly, Object* value, bool ignoreCase ); [JScript] function SetStyleAttribute( attribute : String, designTimeOnly : Boolean, value : Object, ignoreCase : Boolean );
Parameters
- attribute
- The attribute to set.
- designTimeOnly
- true if the attribute is active only at design-time; otherwise, false.
- value
- The object to set the attribute to.
- ignoreCase
- true if the attribute syntax is case-insensitive; otherwise, false.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
IHtmlControlDesignerBehavior Interface | IHtmlControlDesignerBehavior Members | System.Web.UI.Design Namespace
Show: