ISharePointProjectOutputReferenceCollection.Add (Método) (ISharePointProject, DeploymentType)

Agrega una referencia de salida al proyecto.La referencia se agrega como una dependencia de compilación al proyecto actual y se incluye como una parte del elemento de proyecto de SharePoint.

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

Sintaxis

'Declaración
Function Add ( _
    project As ISharePointProject, _
    deploymentType As DeploymentType _
) As ISharePointProjectOutputReference
ISharePointProjectOutputReference Add(
    ISharePointProject project,
    DeploymentType deploymentType
)

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.SharePoint.ISharePointProjectOutputReference
Referencia que se ha agregado.

Excepciones

Excepción Condición
ArgumentNullException

Se produce si el parámetro project es nullreferencia null (Nothing en Visual Basic).

Seguridad de .NET Framework

Vea también

Referencia

ISharePointProjectOutputReferenceCollection Interfaz

Add (Sobrecarga)

Microsoft.VisualStudio.SharePoint (Espacio de nombres)