CheckpointRestoreExtensionMethodsRestoreTElement Method (ListTElement, NaiadReader)Naiad Help

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

Reads this list 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<TElement>(
	this List<TElement> list,
	NaiadReader reader
)

Parameters

list
Type: System.Collections.GenericListTElement
The list to be read.
reader
Type: Microsoft.Research.Naiad.SerializationNaiadReader
The reader.

Type Parameters

TElement
The type of elements in the list.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListTElement. 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