IVsWindowFrame windowFrame = // get a reference to a window frame windowFrame.SetProperty((int)__VSFPROPID.VSFPROPID_IsVisible, isVisible ? 1 : 0);
IVsWindowFrame windowFrame = // get a reference to a window frame windowFrame.SetProperty((int)__VSFPROPID.VSFPROPID_Caption, "My Window Caption");This code sets the Caption property of the window frame to the string "My Window Caption", which changes the title of the window shown in the user interface. The IVsWindowFrame interface is part of the Microsoft.VisualStudio.Shell.Interop package library.