RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterPageProducer.GetXSLData Method

Returns a stream for reading an XSL template associated with the page producer.

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

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

Owned returns an indication of whether the caller needs to free the returned stream. In this case, this parameter is irrelevant, because GetXSLData 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!