DataGridViewRow.DataGridViewRowAccessibleObject.GetChildCount Yöntem

Tanım

Erişilebilir nesneye ait alt öğe sayısını döndürür.

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

Döndürülenler

Int32

öğesine ait DataGridViewRow.DataGridViewRowAccessibleObject alt erişilebilir nesne sayısı, içindeki DataGridViewgörünür sütunların sayısına karşılık gelir. RowHeadersVisible özelliği isetrueGetChildCount(), yöntemi alt erişilebilir nesnelerin sayısına öğesini içerirDataGridViewRowHeaderCell.

Özel durumlar

özelliğinin Owner değeridir null.

Şunlara uygulanır

Ayrıca bkz.