Condividi tramite


UIPropertyQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot,Microsoft.VisualStudio.ProjectSystem.Query.UIPropertyChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot> currentUIPropertyCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot> previousUIPropertyCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IUIPropertySnapshot, Microsoft.VisualStudio.ProjectSystem.Query.UIPropertyChanges>
<Extension()>
Public Function ChangesFrom (currentUIPropertyCollection As IQueryResults(Of IUIPropertySnapshot), previousUIPropertyCollection As IQueryResults(Of IUIPropertySnapshot)) As EntityCollectionChanges(Of IUIPropertySnapshot, UIPropertyChanges)

Parameters

currentUIPropertyCollection
IQueryResults<IUIPropertySnapshot>

The current UIProperty collection.

previousUIPropertyCollection
IQueryResults<IUIPropertySnapshot>

The previous UIProperty collection.

Returns

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

Applies to