IHtmlControlDesignerBehavior.SetStyleAttribute メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IHtmlControlDesignerBehavior.SetStyleAttribute メソッドの意味・解説 

IHtmlControlDesignerBehavior.SetStyleAttribute メソッド

指定したスタイル属性を、指定したオブジェクトに設定します。

名前空間: System.Web.UI.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Sub SetStyleAttribute ( _
    attribute As String, _
    designTimeOnly As Boolean, _
    value As Object, _
    ignoreCase As Boolean _
)
Dim instance As IHtmlControlDesignerBehavior
Dim attribute As String
Dim designTimeOnly As Boolean
Dim value As Object
Dim ignoreCase As Boolean

instance.SetStyleAttribute(attribute, designTimeOnly, value, ignoreCase)
void SetStyleAttribute (
    string attribute,
    bool designTimeOnly,
    Object value,
    bool ignoreCase
)
void SetStyleAttribute (
    String^ attribute, 
    bool designTimeOnly, 
    Object^ value, 
    bool ignoreCase
)
void SetStyleAttribute (
    String attribute, 
    boolean designTimeOnly, 
    Object value, 
    boolean ignoreCase
)
function SetStyleAttribute (
    attribute : String, 
    designTimeOnly : boolean, 
    value : Object, 
    ignoreCase : boolean
)

パラメータ

attribute

設定する属性。

designTimeOnly

属性がデザイン時にだけアクティブである場合は true。それ以外の場合は false。

value

属性を設定する対象となるオブジェクト。

ignoreCase

属性の構文で大文字と小文字が区別されない場合は true。それ以外の場合は false。

解説解説
メモメモ

SetStyleAttribute メソッドは今後使用しません。コントロール デザイナの同等の機能を利用するには、ContainerControlDesigner クラスの AddDesignTimeCssAttributes メソッドを使用します。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IHtmlControlDesignerBehavior インターフェイス
IHtmlControlDesignerBehavior メンバ
System.Web.UI.Design 名前空間
IControlDesignerTag インターフェイス
IControlDesignerView インターフェイス



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

IHtmlControlDesignerBehavior.SetStyleAttribute メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IHtmlControlDesignerBehavior.SetStyleAttribute メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS