Compartir a través de


ExternalFileQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.ExternalFileChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot> currentExternalFileCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot> previousExternalFileCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IExternalFileSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.ExternalFileChanges>
<Extension()>
Public Function ChangesFrom (currentExternalFileCollection As IQueryResults(Of IExternalFileSnapshot), previousExternalFileCollection As IQueryResults(Of IExternalFileSnapshot)) As EntityCollectionChanges(Of IExternalFileSnapshot, ExternalFileChanges)

Parameters

currentExternalFileCollection
IQueryResults<IExternalFileSnapshot>

The current ExternalFile collection.

previousExternalFileCollection
IQueryResults<IExternalFileSnapshot>

The previous ExternalFile collection.

Returns

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

Applies to