Change output category
To change the active category in the output tab of the info pane, set the category using the CurrentOutputCategory property of the IWorkspaceWindow object.
public void SelectOutputCategory(ICommandContext c, ICommandParams p)
{
//Change the output category to "sample"
c.App.Window.CurrentOutputCategory = "sample";
}