表示 SharePoint 项目中的已映射文件夹的集合。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface IMappedFolderCollection _
Inherits ISharePointCollection(Of IMappedFolder), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of IMappedFolder), IEnumerable
public interface IMappedFolderCollection : ISharePointCollection<IMappedFolder>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<IMappedFolder>, IEnumerable
IMappedFolderCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取集合中项的数目。 (继承自 ISharePointCollection<T>。) |
![]() |
Project | 获取与该映射文件夹集合相关联的 SharePoint 项目。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Add(String) | 将具有指定部署路径的映射文件夹添加到当前 SharePoint 项目中,并将映射文件夹添加到项目的包中。 |
![]() |
Add(MappedFolderType) | 将具有指定类型的映射文件夹添加到当前 SharePoint 项目中,并将映射文件夹添加到项目的包中。 |
![]() |
Add(String, Boolean) | 向当前 SharePoint 项目添加具有指定部署路径的映射文件夹。 |
![]() |
Add(MappedFolderType, Boolean) | 将具有指定类型的映射文件夹添加到当前 SharePoint 项目中。 |
![]() |
Contains | 获取提供的项是否为此集合的成员。 (继承自 ISharePointCollection<T>。) |
![]() |
CopyTo | 将此集合中的项复制到数组中。 (继承自 ISharePointCollection<T>。) |
![]() |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<IMappedFolder>。) |
![]() |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) |
![]() |
PropertyChanged | 在更改属性值时发生。 (继承自 INotifyPropertyChanged。) |
页首
备注
映射文件夹是 SharePoint 项目中的文件夹,这些文件夹与 SharePoint Server 安装中的某些文件的物理位置相对应。 有关更多信息,请参见 如何:添加和移除映射文件夹。