ICustomTypeDescriptor.GetAttributes メソッド

定義

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

public:
 System::ComponentModel::AttributeCollection ^ GetAttributes();
public System.ComponentModel.AttributeCollection GetAttributes();
abstract member GetAttributes : unit -> System.ComponentModel.AttributeCollection
Public Function GetAttributes () As AttributeCollection

返品

このオブジェクトの属性を含む AttributeCollection

注釈

戻り値は nullされません。

オブジェクトにカスタム属性が指定されていない場合、実装者は空の AttributeCollection を返すことができます。

適用対象

こちらもご覧ください