次の方法で共有


ComponentDesigner.PostFilterAttributes メソッド

デザイナが、 TypeDescriptor を通じて公開する一連の属性から、項目を変更または削除できるようにします。

Protected Overridable Sub PostFilterAttributes( _
   ByVal attributes As IDictionary _)
[C#]
protected virtual void PostFilterAttributes(IDictionaryattributes);
[C++]
protected: virtual void PostFilterAttributes(IDictionary* attributes);
[JScript]
protected function PostFilterAttributes(
   attributes : IDictionary);

パラメータ

  • attributes
    コンポーネントのクラスの属性。

解説

このメソッドは、 TypeDescriptor を通じて公開される属性のディクショナリ内の項目を変更または削除する手段を提供します。

属性のディクショナリのキーは、それぞれの TypeId プロパティの値が指定する属性の型識別子です。このオブジェクトは PropertyDescriptor 型です。このメソッドは、 PreFilterAttributes の直後に呼び出されます。

実装時の注意: attributes パラメータを通じてアクセスできるディクショナリは、直接フィルタ処理するか、そのままにしておくことができます。このメソッドをオーバーライドする場合は、独自のフィルタ処理を実行した後で、基本の実装を呼び出します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ComponentDesigner クラス | ComponentDesigner メンバ | System.ComponentModel.Design 名前空間 | TypeDescriptor | IDesignerFilter