DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount メソッドの意味・解説 

DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー補助オブジェトに属する子の数を返します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Overrides Function
 GetChildCount As Integer
Dim instance As DataGridViewRowAccessibleObject
Dim returnValue As Integer

returnValue = instance.GetChildCount
public override int GetChildCount ()
public:
virtual int GetChildCount () override
public int GetChildCount ()

戻り値
DataGridViewRow.DataGridViewRowAccessibleObject に属する子ユーザー補助オブジェクトの数は、DataGridView に表示されている列の数に対応しています。DataGridView.RowHeadersVisible プロパティが true の場合、GetChildCount メソッドは、DataGridViewRowHeaderCell を含めた子ユーザー補助オブジェクトの数を返します。

例外例外
例外の種類条件

InvalidOperationException

Owner プロパティの値が null 参照 (Visual Basic では Nothing) です。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewRow.DataGridViewRowAccessibleObject クラス
DataGridViewRow.DataGridViewRowAccessibleObject メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridView.RowHeadersVisible プロパティ
DataGridViewRowHeaderCell



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount メソッドのお隣キーワード
検索ランキング

   

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



DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS