VCReferences.AddProjectReference Method
Adds a project reference to the project.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function AddProjectReference ( _
proj As Object _
) As Object
Object AddProjectReference(
Object proj
)
Object^ AddProjectReference(
[InAttribute] Object^ proj
)
abstract AddProjectReference :
proj:Object -> Object
function AddProjectReference(
proj : Object
) : Object
Parameters
proj
Type: System.ObjectThe project reference to add.
Return Value
Type: System.Object
An object representing the project reference.
Remarks
You can reference only loaded projects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.