Export (0) Print
Expand All
Expand Minimize

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
[C++]
HRESULT __stdcall get_SourceProject(
   /* [out, retval] */ Project** retVal
);
[C#]
Project SourceProject {get;}
[JScript .NET]
public function get SourceProject() : Project

Return Value

Returns a Project object.

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.

Example

See the example in the Reference Object topic.

See Also

Applies To: Reference Object

Show:
© 2015 Microsoft