SetDefaultStream Method (XPRMStreamType, TextReader)
Set default input/output streams. This method defines the default streams that are opened when execution of the model starts. Using an empty string as the file name implies resetting to the corresponding original default stream (defined using
SetDefaultStream(XPRMStreamType, TextReader))
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 5.0.2.0

C#
public void SetDefaultStream( XPRMStreamType wmd, TextReader stream )
Parameters
- wmd
-
Type:
MoselXPRMStreamType
Stream to set: F_INPUTdefault input streamF_OUTPUTdefault output streamF_OUTPUT_LINEBUFdefault output stream with line bufferingF_ERRORdefault error stream - stream
-
Type:
System.IOTextReader
the stream to be used
