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!

ICompoundActionUnit.GetChild

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;

Parameters

index
The zero-based index of the child to retrieve.

Return Value

The IActionUnit at the specified index.

Exceptions

Exception Type Condition
ArgumentException The index is less than zero or greater than the number of children.

Remarks

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.

See Also

ICompoundActionUnit Interface | ICompoundActionUnit Members | System.ComponentModel.Design Namespace | GetChildren