指定されたオブジェクトのカスタム属性のコレクションを取得します。
名前空間: Microsoft.VisualStudio.Data
アセンブリ: Microsoft.VisualStudio.Data (Microsoft.VisualStudio.Data.dll 内)
構文
'宣言
Private Function GetAttributes As AttributeCollection
Implements ICustomTypeDescriptor.GetAttributes
AttributeCollection ICustomTypeDescriptor.GetAttributes()
private:
virtual AttributeCollection^ GetAttributes() sealed = ICustomTypeDescriptor::GetAttributes
private abstract GetAttributes : unit -> AttributeCollection
private override GetAttributes : unit -> AttributeCollection
JScript では、明示的なインターフェイスの実装はサポートされません。
戻り値
型 : System.ComponentModel.AttributeCollection
このオブジェクトの属性を含む AttributeCollection のインスタンスを返します。
実装
ICustomTypeDescriptor.GetAttributes()
解説
このメソッドは GetAttributes のメソッドの実装を提供します。詳細については、.NET Framework のクラス ライブラリ GetAttributes のメソッドを参照してください。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。