Binds an object to this rununit using the name specified
 
    Namespace: 
   MicroFocus.COBOL.RuntimeServices
    Assembly:
   MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
 
public void SetUserData(
	string name,
	Object value
)
Public Sub SetUserData ( 
	name As String,
	value As Object
)
public:
virtual void SetUserData(
	String^ name, 
	Object^ value
) sealed
abstract SetUserData : 
        name : string * 
        value : Object -> unit 
override SetUserData : 
        name : string * 
        value : Object -> unit Parameters
- name
- Type: SystemString
 the name to which the object is bound; cannot be null
- value
- Type: SystemObject
 the object to be bound or null to remove it
Implements
IRunUnitSetUserData(String, Object) 
NOTE: It is recommenced the name include a prefix that is specific
            to your application to ensure the name is unique 
 
NOTE:COBOL programs can use CBL_MANAGED_SESSION_SET_USERDATA
 
myRunUnit.SetUserData("MyExtraData", myExtraData);myRunUnit.SetUserData("MyExtraData", myExtraData)No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
 
Reference