Share via


Reference2.SourceProject Property

Definition

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

public:
 property EnvDTE::Project ^ SourceProject { EnvDTE::Project ^ get(); };

Property Value

Returns a Project object.

Implements

Attributes

Remarks

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.

Applies to