WebControlToolboxItem.GetToolAttributeValue(IDesignerHost, Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ツールボックス項目の指定した種類の属性の値を取得します。
public:
System::Object ^ GetToolAttributeValue(System::ComponentModel::Design::IDesignerHost ^ host, Type ^ attributeType);
public object GetToolAttributeValue(System.ComponentModel.Design.IDesignerHost host, Type attributeType);
member this.GetToolAttributeValue : System.ComponentModel.Design.IDesignerHost * Type -> obj
Public Function GetToolAttributeValue (host As IDesignerHost, attributeType As Type) As Object
パラメーター
- host
- IDesignerHost
現在のデザイン ドキュメントの IDesignerHost 。
- attributeType
- Type
値を取得する属性の型。
返品
指定した属性の型の値。
例外
attributeType パラメーターはPersistChildrenAttributeではありません。
注釈
既定の実装では、attributeType パラメーターがPersistChildrenAttribute以外の場合、ArgumentExceptionがスローされます。