Compartir a través de


VCReferences.AddProjectReference (Método)

Agrega una referencia de proyecto al proyecto.

Espacio de nombres:  Microsoft.VisualStudio.VCProjectEngine
Ensamblado:  Microsoft.VisualStudio.VCProjectEngine (en Microsoft.VisualStudio.VCProjectEngine.dll)

Sintaxis

'Declaración
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

Parámetros

  • proj
    Tipo: Object

    Referencia de proyecto que se va a agregar.

Valor devuelto

Tipo: Object
Objeto que representa la referencia del proyecto.

Comentarios

Puede hacer referencia a proyectos cargados.

Seguridad de .NET Framework

Vea también

Referencia

VCReferences Interfaz

Microsoft.VisualStudio.VCProjectEngine (Espacio de nombres)