Share via


ISharePointProjectItemVirtualFileCollection Interface

Represents the 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 ISharePointProjectItemVirtualFileCollection _
    Inherits ISharePointCollection(Of ISharePointProjectItemVirtualFile), INotifyCollectionChanged, INotifyPropertyChanged,  _
    IEnumerable(Of ISharePointProjectItemVirtualFile), IEnumerable
public interface ISharePointProjectItemVirtualFileCollection : ISharePointCollection<ISharePointProjectItemVirtualFile>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProjectItemVirtualFile>, IEnumerable

The ISharePointProjectItemVirtualFileCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of items in the collection. (Inherited from ISharePointCollection<T>.)
Public property ProjectItem Gets the SharePoint project item owning this instance of the ISharePointProjectItemFileCollection.

Top

Methods

  Name Description
Public method Add Adds a new virtual file.
Public method Contains Gets whether the provided item is a member of this collection. (Inherited from ISharePointCollection<T>.)
Public method CopyTo Copies items from this collection into an array. (Inherited from ISharePointCollection<T>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISharePointProjectItemVirtualFile>.)
Public method Remove Removes a virtual file from the collection.

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace