Gets the child action at the specified index.
[Visual Basic] Function GetChild( _ ByVal index As Integer _ ) As IActionUnit [C#] IActionUnit GetChild( int index ); [C++] IActionUnit* GetChild( int index ) = 0; [JScript] function GetChild( index : int ) : IActionUnit;
The IActionUnit at the specified index.
Exception Type | Condition |
---|---|
ArgumentException | The index is less than zero or greater than the number of children. |
If index is less than zero or greater than the number of children, an ArgumentException is thrown. Index zero correpsonds to the first child added to the compound action.
ICompoundActionUnit Interface | ICompoundActionUnit Members | System.ComponentModel.Design Namespace | GetChildren