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

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

ITypeDescriptorFilterService.FilterAttributes メソッド

TypeDescriptor を通じてコンポーネント公開する属性フィルタ処理ます。

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

Function FilterAttributes ( _
    component As IComponent, _
    attributes As IDictionary _
) As Boolean
Dim instance As ITypeDescriptorFilterService
Dim component As IComponent
Dim attributes As IDictionary
Dim returnValue As Boolean

returnValue = instance.FilterAttributes(component, attributes)
bool FilterAttributes (
    IComponent component,
    IDictionary attributes
)
bool FilterAttributes (
    IComponent^ component, 
    IDictionary^ attributes
)
boolean FilterAttributes (
    IComponent component, 
    IDictionary attributes
)
function FilterAttributes (
    component : IComponent, 
    attributes : IDictionary
) : boolean

パラメータ

component

属性フィルタ処理する対象コンポーネント

attributes

変更できる属性のディクショナリ。

戻り値
フィルタ処理した一連の属性キャッシュ保存する場合trueフィルタ サービスが再照会する必要がある場合false

解説解説

このメソッドは、コンポーネント一連の属性要求されたときに呼び出されます。属性は、属性の TypeId をキーとして、また実際属性を値として設定して、ディクショナリに追加されます。このサービス実装すると、ディクショナリ内の既存属性エントリを追加削除、または変更できます

実装時の注意 記述子フィルタ サービスへのクエリ繰り返すパフォーマンス低下するため、false返すのは必要な場合だけにします。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ITypeDescriptorFilterService インターフェイス
ITypeDescriptorFilterService メンバ
System.ComponentModel.Design 名前空間
Attribute
TypeId
IDictionary



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ITypeDescriptorFilterService.FilterAttributes メソッド」の関連用語

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

   

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



ITypeDescriptorFilterService.FilterAttributes メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS