VCReferences.AddProjectReference(Object) Method

Definition

Adds a project reference to the project.

public:
 System::Object ^ AddProjectReference(System::Object ^ proj);
public:
 Platform::Object ^ AddProjectReference(Platform::Object ^ proj);
winrt::Windows::Foundation::IInspectable AddProjectReference(winrt::Windows::Foundation::IInspectable const & proj);
[System.Runtime.InteropServices.DispId(902)]
public object AddProjectReference (object proj);
[<System.Runtime.InteropServices.DispId(902)>]
abstract member AddProjectReference : obj -> obj
Public Function AddProjectReference (proj As Object) As Object

Parameters

proj
Object

The project reference to add.

Returns

An object representing the project reference.

Attributes

Remarks

You can reference only loaded projects.

Applies to