Windward Engine API Reference
DataStream Property
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class : DataStream Property




Glossary Item Box

The stream to write the data.xml file to. As the report is run, the data for each tag can also be placed in an associated data.xml file. This xml will have a node for each tag and depending on the settings, the node will contain the tag attributes and/or the data extracted from the datasource for that tag. You may not set this if the DataMode includes DATA_MODE_EMBED. Setting this has no impact if DataMode == 0. You can only get the if DataMode != 0. If you did not set DataStream this will return a MemoryStream with the generated data.xml file in UTF-8. You should only call this after calling processComplete.

Syntax

Visual Basic (Declaration) 
Public Property DataStream As Stream
Visual Basic (Usage)Copy Code
Dim instance As Report
Dim value As Stream
 
instance.DataStream = value
 
value = instance.DataStream
C# 
public Stream DataStream {get; set;}
Managed Extensions for C++ 
public: __property Stream* get_DataStream();
public: __property void set_DataStream( 
   Stream* value
);
C++/CLI 
public:
property Stream^ DataStream {
   Stream^ get();
   void set (    Stream^ value);
}

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.