次の方法で共有


ICustomTypeDescriptor.GetAttributes メソッド

このオブジェクトの Attribute 型のコレクションを返します。

Function GetAttributes() As AttributeCollection
[C#]
AttributeCollection GetAttributes();
[C++]
AttributeCollection* GetAttributes();
[JScript]
function GetAttributes() : AttributeCollection;

戻り値

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

解説

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

属性を指定しないと、空の AttributeCollection が返される場合があります。

必要条件

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

参照

ICustomTypeDescriptor インターフェイス | ICustomTypeDescriptor メンバ | System.ComponentModel 名前空間 | ICustomTypeDescriptor | TypeDescriptor | AttributeCollection