CollectionEditor クラス
アセンブリ: System.Design (system.design.dll 内)



EditorAttribute を使用して、CollectionEditor とプロパティを関連付けるコード例を次に示します。
<EditorAttribute(GetType(System.ComponentModel.Design.CollectionEditor), GetType(System.Drawing.Design.UITypeEditor))> _ Public Property testCollection() As ICollection Get Return Icollection End Get Set Icollection = value End Set End Property Private Icollection As ICollection
[EditorAttribute(typeof(System.ComponentModel.Design.CollectionEditor), typeof(System.Drawing.Design.UITypeEditor))] public ICollection testCollection { get { return Icollection; } set { Icollection = value; } } private ICollection Icollection;
public: [EditorAttribute(System::ComponentModel::Design::CollectionEditor::typeid, System::Drawing::Design::UITypeEditor::typeid)] property ICollection^ testCollection { ICollection^ get() { return Icollection; } void set( ICollection^ value ) { Icollection = value; } } private: ICollection^ Icollection;
/** @attribute EditorAttribute(System.ComponentModel.Design. CollectionEditor.class, System.Drawing.Design.UITypeEditor.class) */ /** @property */ public ICollection get_TestCollection() { return iCollection; } //get_TestCollection /** @property */ public void set_TestCollection(ICollection value) { iCollection = value; } //set_TestCollection private ICollection iCollection;

System.Drawing.Design.UITypeEditor
System.ComponentModel.Design.CollectionEditor
派生クラス


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- CollectionEditor クラスのページへのリンク