Removes an action from the collection.
[Visual Basic 6.0] Sub Remove(
ByVal nIndex As Empty _
)
[Visual Basic .NET] Public Sub Remove ( _ ByVal nIndex As Integer _ )
[C#] public void Remove ( int nIndex );
[Java] public void remove ( int nIndex ) throws IOException, AutomationException
[C++]
HRESULT Remove(
Long nIndex
);
Parameters
nIndex [in]
nIndex is a parameter of type Long
This method allows a user to remove an action at the specified index. If the index specified is out of range an E_FAIL is returned otherwise a S_OK is returned on success. This method on success releases the action removed.