ProjectContextQueryResultsExtensions.ChangesFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.