Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a collection of mapped folders in a SharePoint project.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface IMappedFolderCollection _
Inherits ISharePointCollection(Of IMappedFolder), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of IMappedFolder), IEnumerable
public interface IMappedFolderCollection : ISharePointCollection<IMappedFolder>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<IMappedFolder>, IEnumerable
The IMappedFolderCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.) |
![]() |
Project | Gets the SharePoint project that is associated with this mapped folder collection. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Add(String) | Adds a mapped folder with the specified deployment path to the current SharePoint project, and also adds the mapped folder to the package in the project. |
![]() |
Add(MappedFolderType) | Adds a mapped folder with the specified type to the current SharePoint project, and also adds the mapped folder to the package in the project. |
![]() |
Add(String, Boolean) | Adds a mapped folder with the specified deployment path to the current SharePoint project. |
![]() |
Add(MappedFolderType, Boolean) | Adds a mapped folder with the specified type to the current SharePoint project. |
![]() |
Contains | Gets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.) |
![]() |
CopyTo | Copies items from this collection into an array. (Inherited from ISharePointCollection<T>.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMappedFolder>.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) |
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top
Remarks
Mapped folders are folders in a SharePoint project that correspond to the physical location of certain files in the SharePoint Server installation. For more information, see How to: Add and Remove Mapped Folders.
.gif)
.gif)
.gif)