Share via


ProjectContextQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.ProjectContextChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot> currentProjectContextCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot> previousProjectContextCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IProjectContextSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.ProjectContextChanges>
<Extension()>
Public Function ChangesFrom (currentProjectContextCollection As IQueryResults(Of IProjectContextSnapshot), previousProjectContextCollection As IQueryResults(Of IProjectContextSnapshot)) As EntityCollectionChanges(Of IProjectContextSnapshot, ProjectContextChanges)

Parameters

currentProjectContextCollection
IQueryResults<IProjectContextSnapshot>

The current ProjectContext collection.

previousProjectContextCollection
IQueryResults<IProjectContextSnapshot>

The previous ProjectContext collection.

Returns

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

Applies to