DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount Method

定義

属する子の数を返します、DataGridViewCell.DataGridViewCellAccessibleObjectします。Returns the number of children that belong to the DataGridViewCell.DataGridViewCellAccessibleObject.

public:
 override int GetChildCount();
public override int GetChildCount ();
override this.GetChildCount : unit -> int
Public Overrides Function GetChildCount () As Integer

戻り値

DataGridViewCell を所有する DataGridViewCell.DataGridViewCellAccessibleObject が編集中の場合は値 1。それ以外の場合は -1。The value 1 if the DataGridViewCell that owns DataGridViewCell.DataGridViewCellAccessibleObject is being edited; otherwise, -1.

例外

Owner プロパティの値が null です。The value of the Owner property is null.

適用対象

こちらもご覧ください