DotNetModule.DisposeObject
- Updated2025-07-21
- 1 minute(s) read
DotNetModule.DisposeObject
Syntax
DotNetModule.DisposeObject
Data Type
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.