This documentation is archived and is not being maintained.

SourceProject Property (Reference Object)

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property SourceProject() As Project
[Visual Basic 6]
Property Get SourceProject() As Project
HRESULT __stdcall get_SourceProject(
   /* [out, retval] */ Project** retVal
Project SourceProject {get;}
[JScript .NET]
public function get SourceProject() : Project

Return Value

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.


See the example in the Reference Object topic.

See Also

Applies To: Reference Object