다음을 통해 공유


SupportedValueQueryResultsExtensions.ChangesFrom Method

Definition

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

public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.SupportedValueChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot> currentSupportedValueCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot> previousSupportedValueCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.ISupportedValueSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.SupportedValueChanges>
<Extension()>
Public Function ChangesFrom (currentSupportedValueCollection As IQueryResults(Of ISupportedValueSnapshot), previousSupportedValueCollection As IQueryResults(Of ISupportedValueSnapshot)) As EntityCollectionChanges(Of ISupportedValueSnapshot, SupportedValueChanges)

Parameters

currentSupportedValueCollection
IQueryResults<ISupportedValueSnapshot>

The current SupportedValue collection.

previousSupportedValueCollection
IQueryResults<ISupportedValueSnapshot>

The previous SupportedValue collection.

Returns

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

Applies to