/// <summary> /// Gets an existing Output window pane. /// Returns null if a pane with the specified guid does not exist. /// </summary> /// <param name="guid">The pane's unique identifier.</param> /// <returns>A new OutputWindowPane or null.</returns> public Task <OutputWindowPane?> GetOutputWindowPaneAsync(Guid guid) => OutputWindowPane.GetAsync(guid);
/// <summary> /// Gets an existing Visual Studio Output window pane (General, Build, Debug). /// If the General pane does not already exist then it will be created, but that is not the case /// for Build or Debug, in which case the method returns null if the pane doesn't already exist. /// </summary> /// <param name="pane">The Visual Studio pane to get.</param> /// <returns>A new OutputWindowPane or null.</returns> public Task <OutputWindowPane?> GetOutputWindowPaneAsync(VSOutputWindowPane pane) => OutputWindowPane.GetAsync(pane);