ISharePointProjectOutputReferenceCollection Interface
Represents a collection of project output references belonging to a project item.
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of items in the collection.(Inherited from ISharePointCollection<T>.) |
![]() | ProjectItem | Gets a reference to the SharePoint project item. |
| Name | Description | |
|---|---|---|
![]() | 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(array<T>^, Int32) | Copies items from this collection into an array.(Inherited from ISharePointCollection<T>.) |
![]() | GetEnumerator() | (Inherited from IEnumerable<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. |
| Name | Description | |
|---|---|---|
![]() | CollectionChanged | (Inherited from INotifyCollectionChanged.) |
![]() | PropertyChanged | (Inherited from INotifyPropertyChanged.) |
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.


