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

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

ICustomTypeDescriptor.GetAttributes メソッド

コンポーネントのこのインスタンスのカスタム属性のコレクションを返します。

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

Function GetAttributes As AttributeCollection
Dim instance As ICustomTypeDescriptor
Dim returnValue As AttributeCollection

returnValue = instance.GetAttributes
AttributeCollection GetAttributes ()
AttributeCollection^ GetAttributes ()
AttributeCollection GetAttributes ()
function GetAttributes () : AttributeCollection

戻り値
このオブジェクトの属性を保持する AttributeCollection。

解説解説

戻り値が null 参照 (Visual Basic では Nothing) になることはありません。

オブジェクトに対してカスタム属性を指定しないと、空の AttributeCollection が返される場合があります。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ICustomTypeDescriptor インターフェイス
ICustomTypeDescriptor メンバ
System.ComponentModel 名前空間
System.ComponentModel.TypeDescriptor.GetAttributes
Attribute
AttributeCollection クラス
GetEvents
GetProperties



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「ICustomTypeDescriptor.GetAttributes メソッド」の関連用語

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

   

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



ICustomTypeDescriptor.GetAttributes メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS