Partager via


ISharePointProjectItemFileCollection Interface

Definition

Represents a collection of files in a SharePoint project item.

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

Properties

Count

Gets the number of items in the collection.

(Inherited from ISharePointCollection<T>)
Item[String]

Gets a SharePoint project item file by the file name.

ProjectItem

Gets the SharePoint project item owning this instance of the ISharePointProjectItemFileCollection.

Methods

AddFromFile(String)

Adds the specified file to the project item file collection.

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.

AddFromFileCopy(String)

Adds a new file as a copy of the specified file. The file is added to the SharePoint project item folder.

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