Initializing help system before first use

SetDefaultStream Method (XPRMStreamType, TextWriter)

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, TextWriter))

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 4.8.0.0
Syntax
C#
public void SetDefaultStream(
	XPRMStreamType wmd,
	TextWriter 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.IOTextWriter
the stream to be used
See Also