DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount 方法            
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回属于 DataGridViewCell.DataGridViewCellAccessibleObject 的子级的数目。
public:
 override int GetChildCount();public override int GetChildCount();override this.GetChildCount : unit -> intPublic Overrides Function GetChildCount () As Integer返回
如果正在编辑拥有 DataGridViewCell.DataGridViewCellAccessibleObject 的 DataGridViewCell,则值为 1;否则为 -1。
例外
              Owner 属性的值为 null。