Condividi tramite


ProjectQueryResultsExtensions.ChangesFrom Method

Definition

Calculates the set of differences with another Project collection./>

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.ProjectChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> currentProjectCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> previousProjectCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.ProjectChanges>
<Extension()>
Public Function ChangesFrom (currentProjectCollection As IQueryResults(Of IProjectSnapshot), previousProjectCollection As IQueryResults(Of IProjectSnapshot)) As EntityCollectionChanges(Of IProjectSnapshot, ProjectChanges)

Parameters

currentProjectCollection
IQueryResults<IProjectSnapshot>

The current Project collection.

previousProjectCollection
IQueryResults<IProjectSnapshot>

The previous Project collection.

Returns

A EntityCollectionChanges<TEntity,TEntityChanges> with the collection differences.

Applies to