Window2::Project Property

 

Gets the Project object associated with the Window object.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property Project^ Project {
	Project^ get();
}

Property Value

Type: EnvDTE::Project^

A Project object.

Implements

Window::Project

The 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.

No code example is currently available or this language may not be supported.
Return to top
Show: