Microsoft.Samples.Collections

Heap.GetObjectData Method 

Populates a SerializationInfo with the data needed to serialize the heap.

public virtual void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);

Parameters

info
The SerializationInfo to populate with data.
context
The destination for this serialization.

Implements

ISerializable.GetObjectData

Exceptions

Exception TypeCondition
ArgumentNullExceptionThrown if the info parameter is null.

See Also

Heap Class | Microsoft.Samples.Collections Namespace