CollectionEditor クラスとは? わかりやすく解説

CollectionEditor クラス

ほとんどの型のコレクション編集するためにデザイン時に利用できるユーザー インターフェイス提供します

名前空間: System.ComponentModel.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Public Class CollectionEditor
    Inherits UITypeEditor
Dim instance As CollectionEditor
public class CollectionEditor : UITypeEditor
public ref class CollectionEditor : public
 UITypeEditor
public class CollectionEditor extends UITypeEditor
public class CollectionEditor extends
 UITypeEditor
解説解説
使用例使用例

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.Object
   System.Drawing.Design.UITypeEditor
    System.ComponentModel.Design.CollectionEditor
       派生クラス
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CollectionEditor メンバ
System.ComponentModel.Design 名前空間
UITypeEditor


このページでは「.NET Framework クラス ライブラリ リファレンス」からCollectionEditor クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCollectionEditor クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCollectionEditor クラス を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「CollectionEditor クラス」の関連用語

CollectionEditor クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



CollectionEditor クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS