DataGridViewCell.DataGridViewCellAccessibleObject.GetChildCount Metoda

Definice

Vrátí počet podřízených položek, které patří do DataGridViewCell.DataGridViewCellAccessibleObject.

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

Návraty

Int32

Hodnota 1 je-li DataGridViewCell upravena, DataGridViewCell.DataGridViewCellAccessibleObject jinak -1.

Výjimky

Hodnota Owner vlastnosti je null.

Platí pro

Viz také