ISharePointProjectItemFileCollection Interface
Represents a collection of files in a SharePoint project item.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Public Interface ISharePointProjectItemFileCollection _
Inherits ISharePointCollection(Of ISharePointProjectItemFile), INotifyCollectionChanged, INotifyPropertyChanged, _
IEnumerable(Of ISharePointProjectItemFile), IEnumerable
public interface ISharePointProjectItemFileCollection : ISharePointCollection<ISharePointProjectItemFile>,
INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectItemFile>, IEnumerable
The ISharePointProjectItemFileCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.) | |
Item | Gets a SharePoint project item file by the file name. | |
ProjectItem | Gets the SharePoint project item owning this instance of the ISharePointProjectItemFileCollection. |
Top
Methods
Name | Description | |
---|---|---|
AddFromFile | Adds the specified file to the project item file collection. | |
AddFromFileCopy(String) | Adds a new file as a copy of the specified file. The file is added to the SharePoint project item folder. | |
AddFromFileCopy(String, String) | Adds a copy of the specified file to the specified subdirectory as a project item file. The file is added to the SharePoint project item folder. | |
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<ISharePointProjectItemFile>.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) | |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top