IMappedFolderCollection.Add (Método) (MappedFolderType)

Agrega una carpeta asignada con el tipo especificado al proyecto actual de SharePoint, y también agrega la carpeta asignada al paquete del proyecto.

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

Sintaxis

'Declaración
Function Add ( _
    folderType As MappedFolderType _
) As IMappedFolder
IMappedFolder Add(
    MappedFolderType folderType
)

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.SharePoint.IMappedFolder
Carpeta asignada que se creó.

Excepciones

Excepción Condición
ArgumentException

El valor del parámetro folderType es Other.

Comentarios

Cuando se utiliza este método, puede especificar cualquier valor de MappedFolderType excepto Other.

Seguridad de .NET Framework

Vea también

Referencia

IMappedFolderCollection Interfaz

Add (Sobrecarga)

Microsoft.VisualStudio.SharePoint (Espacio de nombres)