IOrderedStreamStorage<TKey>::Reset Method (IEnumerable<TKey>^)

Visual Studio 2015
 

Resets the storage with the given enumeration of keys. New keys are enumerated and compared against existing keys in storage. The new keys enumeration determines the position of existing keys in storage: that is, if they exist in both storage and newKeys, they will be moved to the position in the newKeys enumeration. Existing keys in storage that do not exist in the newKeys enumeration will be removed from storage. Keys that exist in the newKeys enumeration but do not exist in storage will be added to storage, and an empty Stream will be created for them.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

void Reset(
	IEnumerable<TKey>^ newKeys
)

Parameters

newKeys
Type: System.Collections.Generic::IEnumerable<TKey>^

The new keys.

Return to top
Show: