NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AccessibleObject.GetChildCount

Retrieves the number of children belonging to an accessible object. All objects must support this property.

This function does nothing by default. If accessible objects want to provide custom accessible children, then this function should be overridden. If this function is overridden, then GetChild(int index) should also be overridden.

[Visual Basic]
Overridable Public Function GetChildCount() As Integer
[C#]
public virtual int GetChildCount();
[C++]
public: virtual int GetChildCount();
[JScript]
public function GetChildCount() : int;

See Also

AccessibleObject Class | AccessibleObject Members | System.WinForms Namespace