FileQueryResultsExtensions.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 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.