VCReferences.AddProjectReference Method

Adds a project reference to the project.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

声明
Function AddProjectReference ( _
    proj As Object _
) As Object
用法
Dim instance As VCReferences
Dim proj As Object
Dim returnValue As Object

returnValue = instance.AddProjectReference(proj)
Object AddProjectReference(
    Object proj
)
Object^ AddProjectReference(
    [InAttribute] Object^ proj
)
function AddProjectReference(
    proj : Object
) : Object

Parameters

Return Value

Type: System.Object

An object representing the project reference.

Remarks

You can reference only loaded projects.

Permissions

See Also

Reference

VCReferences Interface

VCReferences Members

Microsoft.VisualStudio.VCProjectEngine Namespace