CTabItem.
Closes the visible tab.
This functionality is supported only if you are using the Open Agent.
Close ()
If the tab is not visible, precede the Close method with a Select method.