Xml.xmldom.IDOMPersist.loadFromStream
Delphi
function loadFromStream(const stream: TStream): WordBool; overload; safecall;
function loadFromStream(const stream: IStream): WordBool; overload; safecall;
C++
virtual HRESULT __safecall loadFromStream(System::Classes::TStream* const stream, System::WordBool &__loadFromStream_result) = 0 /* overload */;
virtual HRESULT __safecall loadFromStream(const _di_IStream stream, System::WordBool &__loadFromStream_result) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Xml.Xmldom.pas Xml.xmldom.hpp |
Xml.xmldom | IDOMPersist |
Description
Loads the xml from a stream.
Use the loadFromStream method to load the xml from the stream specified by the stream parameter. The loadFromStream method returns True if the loading was successful, and False otherwise.
loadFromStream can either be called with a TStream type parameter or an IStream type parameter.