[This is preliminary documentation and subject to change.]
The Unflatten method converts a enhancement stream that has been converted into low-level format by EnhEvents.Flatten or EnhEvent.Flatten back into its original high-level format.
object.Unflatten()
EnhEvents.UnFlatten only converts streams that have been previously converted to low-level format by the Flatten method. Calling EnhEvents.UnFlatten on a stream that has not been flattened causes the method to exit without modifying the stream.
EnhEvents.UnFlatten converts the entire enhancement stream. To convert a single event, use EnhEvent.UnFlatten.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in stream.idl.
Import Library: Included as a resource in stream.dll.
Unicode: Yes.
EnhEvent.UnFlatten, EnhEvents.Flatten, Converting Events to Low-level Syntax
The following example converts a low-level stream back into its original high-level format.
'Convert the stream to low-level format.
evs.Flatten
'Additional code that operates on the low-level stream.
...
'Convert the stream back to high-level format.
evs.UnFlatten