CheckpointRestoreExtensionMethodsRestoreTKey, TValue Method (DictionaryTKey, TValue, NaiadReader)Naiad Help

[This is preliminary documentation and is subject to change.]

Reads this dictionary from the given reader.

Namespace: Microsoft.Research.Naiad.Serialization
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static void Restore<TKey, TValue>(
	this Dictionary<TKey, TValue> dictionary,
	NaiadReader reader
)

Parameters

dictionary
Type: System.Collections.GenericDictionaryTKey, TValue
The dictionary to be read.
reader
Type: Microsoft.Research.Naiad.SerializationNaiadReader
The reader.

Type Parameters

TKey
The type of keys in the dictionary.
TValue
The type of values in the dictionary.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DictionaryTKey, TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference