DataGridViewCellCollection イベント
パブリック イベント
参照関連項目
DataGridViewCellCollection クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewRow
DataGridViewRow.Cells
DataGridViewCellCollection クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Public Class DataGridViewCellCollection Inherits BaseCollection Implements IList, ICollection, IEnumerable
public ref class DataGridViewCellCollection : public BaseCollection, IList, ICollection, IEnumerable
解説
継承階層System.MarshalByRefObject
System.Windows.Forms.BaseCollection
System.Windows.Forms.DataGridViewCellCollection
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照DataGridViewCellCollection コンストラクタ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Dim dataGridViewRow As DataGridViewRow Dim instance As New DataGridViewCellCollection(dataGridViewRow)
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照DataGridViewCellCollection プロパティ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| Count | コレクション内の要素の合計数を取得します。 ( BaseCollection から継承されます。) |
| IsReadOnly | コレクションが読み取り専用かどうかを示す値を取得します。 ( BaseCollection から継承されます。) |
| IsSynchronized | ICollection へのアクセスの同期がとられているかどうかを示す値を取得します。 ( BaseCollection から継承されます。) |
| Item | オーバーロードされます。 指定した位置にある項目を取得または設定します。C# では、このプロパティは DataGridViewCellCollection クラスのインデクサです。 |
| SyncRoot | BaseCollection へのアクセスを同期するために使用できるオブジェクトを取得します。 ( BaseCollection から継承されます。) |
プロテクト プロパティ
明示的インターフェイスの実装| 名前 | 説明 | |
|---|---|---|
| System.Collections.ICollection.Count | コレクションに格納されている要素の数を取得します。 |
| System.Collections.ICollection.IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。 |
| System.Collections.ICollection.SyncRoot | コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。 |
| System.Collections.IList.IsFixedSize | コレクションが固定サイズかどうかを示す値を取得します。 |
| System.Collections.IList.IsReadOnly | コレクションが固定サイズかどうかを示す値を取得します。 |
| System.Collections.IList.Item | 指定したインデックスにある要素を取得または設定します。 |
参照関連項目
DataGridViewCellCollection クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewRow
DataGridViewRow.Cells
DataGridViewCellCollection メソッド
パブリック メソッド
プロテクト メソッド| 名前 | 説明 | |
|---|---|---|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
| MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
| OnCollectionChanged | CollectionChanged イベントを発生させます。 |
明示的インターフェイスの実装| 名前 | 説明 | |
|---|---|---|
| System.Collections.ICollection.CopyTo | 指定したインデックスを開始位置として、指定した配列にコレクション要素をコピーします。 |
| System.Collections.IEnumerable.GetEnumerator | コレクションを反復処理する列挙子を返します。 |
| System.Collections.IList.Add | 項目をコレクションに追加します。 |
| System.Collections.IList.Clear | コレクションを空にします。 |
| System.Collections.IList.Contains | 指定した値がコレクションに格納されているかどうかを確認します。 |
| System.Collections.IList.IndexOf | コレクション内での指定した項目のインデックスを調べます。 |
| System.Collections.IList.Insert | コレクション内の指定した位置に項目を挿入します。 |
| System.Collections.IList.Remove | 最初に見つかった特定のオブジェクトをコレクションから削除します。 |
| System.Collections.IList.RemoveAt | 指定したインデックス位置にある DataGridViewCell を削除します。 |
参照関連項目
DataGridViewCellCollection クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewRow
DataGridViewRow.Cells
DataGridViewCellCollection メンバ
DataGridViewRow 内のセルのコレクションを表します。
DataGridViewCellCollection データ型で公開されるメンバを以下の表に示します。
パブリック コンストラクタ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| Count | コレクション内の要素の合計数を取得します。(BaseCollection から継承されます。) |
| IsReadOnly | コレクションが読み取り専用かどうかを示す値を取得します。(BaseCollection から継承されます。) |
| IsSynchronized | ICollection へのアクセスの同期がとられているかどうかを示す値を取得します。(BaseCollection から継承されます。) |
| Item | オーバーロードされます。 指定した位置にある項目を取得または設定します。C# では、このプロパティは DataGridViewCellCollection クラスのインデクサです。 |
| SyncRoot | BaseCollection へのアクセスを同期するために使用できるオブジェクトを取得します。(BaseCollection から継承されます。) |
プロテクト プロパティ
パブリック メソッド
プロテクト メソッド| 名前 | 説明 | |
|---|---|---|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
| MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
| OnCollectionChanged | CollectionChanged イベントを発生させます。 |
パブリック イベント
明示的インターフェイスの実装| 名前 | 説明 | |
|---|---|---|
| System.Collections.ICollection.CopyTo | 指定したインデックスを開始位置として、指定した配列にコレクション要素をコピーします。 |
| System.Collections.IEnumerable.GetEnumerator | コレクションを反復処理する列挙子を返します。 |
| System.Collections.IList.Add | 項目をコレクションに追加します。 |
| System.Collections.IList.Clear | コレクションを空にします。 |
| System.Collections.IList.Contains | 指定した値がコレクションに格納されているかどうかを確認します。 |
| System.Collections.IList.IndexOf | コレクション内での指定した項目のインデックスを調べます。 |
| System.Collections.IList.Insert | コレクション内の指定した位置に項目を挿入します。 |
| System.Collections.IList.Remove | 最初に見つかった特定のオブジェクトをコレクションから削除します。 |
| System.Collections.IList.RemoveAt | 指定したインデックス位置にある DataGridViewCell を削除します。 |
| System.Collections.ICollection.Count | コレクションに格納されている要素の数を取得します。 |
| System.Collections.ICollection.IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。 |
| System.Collections.ICollection.SyncRoot | コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。 |
| System.Collections.IList.IsFixedSize | コレクションが固定サイズかどうかを示す値を取得します。 |
| System.Collections.IList.IsReadOnly | コレクションが固定サイズかどうかを示す値を取得します。 |
| System.Collections.IList.Item | 指定したインデックスにある要素を取得または設定します。 |
参照関連項目
DataGridViewCellCollection クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewCell クラス
DataGridViewRow
DataGridViewRow.Cells
Weblioに収録されているすべての辞書からDataGridViewCellCollectionを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からDataGridViewCellCollection
を検索
- DataGridViewCellCollectionのページへのリンク