ICustomTypeDescriptor.GetAttributes メソッド
定義
コンポーネントのこのインスタンスのカスタム属性のコレクションを返します。Returns a collection of custom attributes for this instance of a component.
public:
System::ComponentModel::AttributeCollection ^ GetAttributes();
public System.ComponentModel.AttributeCollection GetAttributes ();
abstract member GetAttributes : unit -> System.ComponentModel.AttributeCollection
Public Function GetAttributes () As AttributeCollection
戻り値
このオブジェクトの属性を格納している AttributeCollection。An AttributeCollection containing the attributes for this object.
注釈
戻り値はありません null
。The return value is never null
.
オブジェクトにカスタム属性が指定されていない場合、実装は空のを返すことができ AttributeCollection ます。Implementers can return an empty AttributeCollection if no custom attributes are specified for an object.