RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterPageProducer.GetXMLData Method

Returns a stream for reading any XML data associated with the page producer.

Pascal
function GetXMLData(var Owned: Boolean): TStream;
C++
__fastcall TStream GetXMLData(Boolean Owned);

The IDE calls GetXMLData for producers that indicate that they support an XML browser view (that is, if the HasXMLBrowserView method returns true). In TBaseAdapterPageProducer, GetXMLData always returns nil (Delphi) or NULL (C++), because adapter page producers do not use associated XML data. 

Owned returns an indication of whether the caller needs to free the returned stream. In this case, this parameter is irrelevant, because GetXMLData always returns nil (Delphi) or NULL (C++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!