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.Remove

Removes a child item from this compound action.

[Visual Basic]
Sub Remove( _
   ByVal childAction As IActionUnit _
)
[C#]
void Remove(
   IActionUnit childAction
);
[C++]
void Remove(
   IActionUnit* childAction
) = 0;
[JScript]
function Remove(
   childAction : IActionUnit
);

Parameters

childAction
The IActionUnit action to remove.

Exceptions

Exception Type Condition
ArgumentException The child to remove is not a child of the compound action.

Remarks

If this action is not the parent of the child action, an ArgumentException is thrown.

See Also

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