Initializing help system before first use

Bind Method

Bind an object to a name. This method is used to associate a name with an object; this name can then be used to locate the object from the 'dotnetstream' and 'dotnetraw' I/O drivers within a Mosel model. Binding an object also prevents it from being garbage collected until the name is unbound or another object is bound to this name, or until the XPRM object is disposed.

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 4.8.0.0
Syntax
C#
public void Bind(
	string name,
	Object obj
)

Parameters

name
Type:  SystemString
Name to be used for the object
obj
Type:  SystemObject
Object to be associated with this name
See Also