Reads component data from a stream.
Source position: classesh.inc line 1400
public function TStream.ReadComponent( |
Instance: TComponent |
):TComponent; |
ReadComponent reads a component state from the stream and transfers this state to Instance. If Instance is nil, then it is created first based on the type stored in the stream. ReadComponent returns the component as it is read from the stream.
ReadComponent simply creates a TReader object and calls its ReadRootComponent method.
If an error occurs during the reading of the component, an EFilerError exception is raised.
|
Write component data to the stream. |
|
|
Reads component data and resource header from a stream. |
|
|
Starts reading a root component. |