Reference3::ContainingProject Property

 

Gets the Project containing the reference.

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

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

Property Value

Type: EnvDTE::Project^

A Project object that contains the reference.

Use this property to retrieve the Project object that includes the reference.

This example displays the containing project for all references and also for each reference separately in an open Visual Basic or Visual C# project. To run this example as an add-in, see How to: Compile and Run the Automation Object Model Code Examples.

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