DotNetModule.DisposeObject

Syntax

DotNetModule.DisposeObject

Data Type

Boolean

Purpose

Note This property is obsolete . Use a constructor or a remote creation call as the first call in the DotNetModule class and then use the DotNetParameter.DisposeObject property on the return value parameter instead. You can specify a constructor or a remote creation call by adding a call to the module using the DotNetModule.Calls collection and using the DotNetCall.LoadPrototypeFromSignature method to specify the call.

Remarks

Specifies whether TestStand attempts to dispose of the object when the object is released or goes out of scope.

If the DotNetModule.CreateObject property is False or if the object does not implement the IDisposable interface, this property is ignored.

See Also

DotNetCall.LoadPrototypeFromSignature

DotNetModule.Calls

DotNetModule.CreateObject

DotNetParameter.DisposeObject

Obsolete DotNetModule Properties