共用方式為


IMappedFolderCollection Interface

Definition

Represents a collection of mapped folders in a SharePoint project.

public interface class IMappedFolderCollection : Microsoft::VisualStudio::SharePoint::ISharePointCollection<Microsoft::VisualStudio::SharePoint::IMappedFolder ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::SharePoint::IMappedFolder ^>, System::Collections::Specialized::INotifyCollectionChanged, System::ComponentModel::INotifyPropertyChanged
public interface IMappedFolderCollection : Microsoft.VisualStudio.SharePoint.ISharePointCollection<Microsoft.VisualStudio.SharePoint.IMappedFolder>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.SharePoint.IMappedFolder>, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged
type IMappedFolderCollection = interface
    interface ISharePointCollection<IMappedFolder>
    interface INotifyCollectionChanged
    interface INotifyPropertyChanged
    interface seq<IMappedFolder>
    interface IEnumerable
Public Interface IMappedFolderCollection
Implements IEnumerable(Of IMappedFolder), INotifyCollectionChanged, INotifyPropertyChanged, ISharePointCollection(Of IMappedFolder)
Implements

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.

Properties

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.

Methods

Add(MappedFolderType, Boolean)

Adds a mapped folder with the specified type to the current SharePoint 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(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.

Contains(T)

Gets whether the provided item is a member of this collection.

(Inherited from ISharePointCollection<T>)
CopyTo(T[], Int32)

Copies items from this collection into an array.

(Inherited from ISharePointCollection<T>)

Applies to