RuleResultItemQueryResultsExtensions.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 RuleResultItem collection./>
public static Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot,Microsoft.VisualStudio.ProjectSystem.Query.RuleResultItemChanges> ChangesFrom (this Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> currentRuleResultItemCollection, Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> previousRuleResultItemCollection);
static member ChangesFrom : Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> * Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot> -> Microsoft.VisualStudio.ProjectSystem.Query.EntityCollectionChanges<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultItemSnapshot, Microsoft.VisualStudio.ProjectSystem.Query.RuleResultItemChanges>
<Extension()>
Public Function ChangesFrom (currentRuleResultItemCollection As IQueryResults(Of IRuleResultItemSnapshot), previousRuleResultItemCollection As IQueryResults(Of IRuleResultItemSnapshot)) As EntityCollectionChanges(Of IRuleResultItemSnapshot, RuleResultItemChanges)
Parameters
- currentRuleResultItemCollection
- IQueryResults<IRuleResultItemSnapshot>
The current RuleResultItem collection.
- previousRuleResultItemCollection
- IQueryResults<IRuleResultItemSnapshot>
The previous RuleResultItem collection.
Returns
A EntityCollectionChanges<TEntity,TEntityChanges> with the collection differences.