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

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

WebControlToolboxItem.GetToolAttributeValue メソッド

ツールボックス項目の指定した属性の型の値を取得します。

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

Public Function GetToolAttributeValue ( _
    host As IDesignerHost, _
    attributeType As Type _
) As Object
Dim instance As WebControlToolboxItem
Dim host As IDesignerHost
Dim attributeType As Type
Dim returnValue As Object

returnValue = instance.GetToolAttributeValue(host, attributeType)
public Object GetToolAttributeValue (
    IDesignerHost host,
    Type attributeType
)
public:
Object^ GetToolAttributeValue (
    IDesignerHost^ host, 
    Type^ attributeType
)
public Object GetToolAttributeValue (
    IDesignerHost host, 
    Type attributeType
)
public function GetToolAttributeValue (
    host : IDesignerHost, 
    attributeType : Type
) : Object

パラメータ

host

現在のデザイン ドキュメントの IDesignerHost。

attributeType

値を取得する属性の型。

戻り値
指定した属性の型の値。

例外例外
例外の種類条件

ArgumentException

attributeType パラメータが PersistChildrenAttribute ではありません。

解説解説

既定の実装では、attributeType パラメータが PersistChildrenAttribute 以外の場合には ArgumentException がスローされます。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WebControlToolboxItem クラス
WebControlToolboxItem メンバ
System.Web.UI.Design 名前空間
PersistChildrenAttribute
IDesignerHost
その他の技術情報
Web フォームのデザイン時サポート



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

WebControlToolboxItem.GetToolAttributeValue メソッドのお隣キーワード

   

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



WebControlToolboxItem.GetToolAttributeValue メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS