Partager 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(); };
public:
 property EnvDTE::Project ^ SourceProject { EnvDTE::Project ^ get(); };
[System.Runtime.InteropServices.DispId(16)]
public EnvDTE.Project SourceProject { [System.Runtime.InteropServices.DispId(16)] get; }
[<System.Runtime.InteropServices.DispId(16)>]
[<get: System.Runtime.InteropServices.DispId(16)>]
member this.SourceProject : EnvDTE.Project
Public ReadOnly Property SourceProject As Project

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