Reference2::SourceProject Property

 

Gets a Project object if the reference is a project. Otherwise, it returns Nothing (a null reference). Read-only.

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

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

Property Value

Type: EnvDTE::Project^

Returns a Project object.

In order for one project to make use of objects built by a second project, the first project must contain a reference to the second project. In such a case, the SourceProject property can return a Project object for the second project.

Return to top
Show: