Sdílet prostřednictvím


ISharePointProjectOutputReferenceCollection Interface

Definition

Represents a collection of project output references belonging to a project item.

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

Remarks

If you attempt to add a project output reference that has the same deployment properties as an existing reference, then no new output reference is added. Instead, the existing reference is returned.

Properties

Count

Gets the number of items in the collection.

(Inherited from ISharePointCollection<T>)
ProjectItem

Gets a reference to the SharePoint project item.

Methods

Add(Guid, DeploymentType)

Adds an output reference to the project specified by projectId. The reference is added as a build dependency to the current project and included as a part of the SharePoint project item.

Add(ISharePointProject, DeploymentType)

Adds an output reference to the project. The reference is added as a build dependency to the current project and included as a part of the SharePoint project item.

Add(String, DeploymentType)

Adds an output reference to the project. The reference is added as a build dependency to the current project and included as a part of the SharePoint project item.

Clear()

Clears the contents of the collection.

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>)
Remove(ISharePointProjectOutputReference)

Removes the specified project output reference from the collection. However, this method does not remove the project reference that was added by an Add method.

Applies to