CustomTypeDescriptor.GetAttributes メソッド

定義

この型記述子によって表される型のカスタム属性のコレクションを返します。

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

返品

型の属性を含む AttributeCollection 。 既定値は Empty です。

実装

注釈

親カスタム型記述子が CustomTypeDescriptor コンストラクターに渡された場合、 GetAttributes メソッドは親の対応するメソッドを呼び出します。

適用対象

こちらもご覧ください