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 メソッドは親の対応するメソッドを呼び出します。

適用対象

こちらもご覧ください