Window2::Project Property
Visual Studio 2015
Namespace:
EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Return to top
Assembly: EnvDTE80 (in EnvDTE80.dll)
Implements
Window::ProjectThe Project property represents the project to which the item belongs.
This example makes a text file the active window. It then uses it to iterate through the windows collection and to display the name of the project that contains the window.
Before running this example, open a project in Visual Studio and add a text file named "TextFile1.txt" to it.
Show: