Populates a SerializationInfo with the data needed to serialize the heap.
ISerializable.GetObjectData
Heap Class | Microsoft.Samples.Collections Namespace