ISharePointProjectItemFileCollection 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 files in a SharePoint project item.

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

public interface ISharePointProjectItemFileCollection : ISharePointCollection<ISharePointProjectItemFile>, 
	INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectItemFile>, IEnumerable

The ISharePointProjectItemFileCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public propertyItemGets a SharePoint project item file by the file name.
Public propertyProjectItemGets the SharePoint project item owning this instance of the ISharePointProjectItemFileCollection.
Top

  NameDescription
Public methodAddFromFileAdds the specified file to the project item file collection.
Public methodAddFromFileCopy(String)Adds a new file as a copy of the specified file. The file is added to the SharePoint project item folder.
Public methodAddFromFileCopy(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.
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<ISharePointProjectItemFile>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft