CreateIOCallback Method (XPRMIOCallbackOutput, Object)
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...)
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 5.0.2.0

C#
public string CreateIOCallback( XPRMIOCallbackOutput cb, Object obj )
Parameters
- cb
-
Type:
MoselXPRMIOCallbackOutput
Callback function to call for I/O - obj
-
Type:
SystemObject
Object to pass to that callback function; can be any .NET object you desire.
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
