Share via


FileQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.FileChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> currentFileCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> previousFileCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.FileChanges>
<Extension()>
Public Function ChangesFrom (currentFileCollection As IQueryResults(Of IFileSnapshot), previousFileCollection As IQueryResults(Of IFileSnapshot)) As EntityCollectionChanges(Of IFileSnapshot, FileChanges)

Parameters

currentFileCollection
IQueryResults<IFileSnapshot>

The current File collection.

previousFileCollection
IQueryResults<IFileSnapshot>

The previous File collection.

Returns

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

Applies to