Partager via


CategoryQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot,Microsoft.VisualStudio.ProjectSystem.Query.CategoryChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot> currentCategoryCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot> previousCategoryCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.ICategorySnapshot, Microsoft.VisualStudio.ProjectSystem.Query.CategoryChanges>
<Extension()>
Public Function ChangesFrom (currentCategoryCollection As IQueryResults(Of ICategorySnapshot), previousCategoryCollection As IQueryResults(Of ICategorySnapshot)) As EntityCollectionChanges(Of ICategorySnapshot, CategoryChanges)

Parameters

currentCategoryCollection
IQueryResults<ICategorySnapshot>

The current Category collection.

previousCategoryCollection
IQueryResults<ICategorySnapshot>

The previous Category collection.

Returns

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

Applies to