ISharePointProjectItemFileCollection Interface

Definition

Represents a collection of files in a SharePoint project item.

C#
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
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

Proizvod Verzije
SharePoint Projects 2017, 2019, 2022