ICommonCallingContext.UserDefinedObject Property

Gets or sets the custom data.
Property UserDefinedObject() As Object
This language is not supported or no code example is available.
object UserDefinedObject {get; set;}
This language is not supported or no code example is available.

Property Value

object

Any object.

Remarks
 
This property is useful if you need to pass a data between two macros, but only when the macro that receives the data is called from a sending macro with IEstimate.RunQdvMacro

This property has a limitation that its value is propagated only to nested macro calls. It's not persisted outside the current macro call chain. This means that you cannot use it to pass data between two independent macro calls, for example from a macro called in one event to a macro called in another event. You need to use more powerful IQdvEnvironment.UserData in such cases.

Version
 
Available since QDV 7.14.524.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition