Condividi tramite


ISharePointProjectCollection Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A collection of all SharePoint projects in the Visual Studio solution.

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

Syntax

'Declaration
Public Interface ISharePointProjectCollection _
    Inherits ISharePointCollection(Of ISharePointProject), INotifyCollectionChanged, INotifyPropertyChanged,  _
    IEnumerable(Of ISharePointProject), IEnumerable
public interface ISharePointProjectCollection : ISharePointCollection<ISharePointProject>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProject>, IEnumerable

The ISharePointProjectCollection 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 Item Gets an instance of the SharePoint project using the specified project path.
Public property ProjectService Gets an instance of the SharePoint project service.

Top

Methods

  Name Description
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 Find Finds an instance of SharePoint project with the specified ID.
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISharePointProject>.)

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