DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount 메서드

정의

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입니다.

예외

Owner 속성의 값이 null인 경우

적용 대상

추가 정보