IMappedFolderCollection Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a collection of mapped folders in a SharePoint project.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface IMappedFolderCollection : ISharePointCollection<IMappedFolder>, 
	INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<IMappedFolder>, IEnumerable

The IMappedFolderCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public propertyProjectGets the SharePoint project that is associated with this mapped folder collection.
Top

  NameDescription
Public methodAdd(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.
Public methodAdd(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.
Public methodAdd(String, Boolean)Adds a mapped folder with the specified deployment path to the current SharePoint project.
Public methodAdd(MappedFolderType, Boolean)Adds a mapped folder with the specified type to the current SharePoint project.
Public methodContainsGets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.)
Public methodCopyToCopies items from this collection into an array. (Inherited from ISharePointCollection<T>.)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMappedFolder>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft