CreateIOCallback Method (XPRMIOCallbackOutputText)
  This returns the name of an IO driver callback stream. The supplied delegate will be called whenever output is sent to the stream; your function can do with it as you wish (e.g. output it to the screen, write it to a file, display it in a window, etc etc etc...) Note that the stream must be called with line-buffering enabled (ie F_OUTPUT_LINEBUF) 
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0
 Syntax
Syntax
    C#
   
  public string CreateIOCallback( XPRMIOCallbackOutputText cb )
Parameters
- cb
- 
   Type: 
   MoselXPRMIOCallbackOutputText
   
 Callback function to call for I/O
Return Value
Type: StringA string representing this callback, that can be passed into Mosel as a filename. You should call DestroyIOCallback when you've finished using this callback filename
 Examples
Examples
 myxprm.SetDefaultStream(F_OUTPUT_LINEBUF, myxprm.CreateIOCallback(myDelegate, myObject));
 See Also
See Also
 
