JCL Help:TJclSafeGuard.ReleaseItem
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TJclSafeGuard.ReleaseItem Method
[+] TJclSafeGuard Methods
[+] TJclSafeGuard Properties
Search in JCL Help
Search in all projects
Summary
Disassociates the resource from the safeguard.
Pascal
public function ReleaseItem: Pointer;
Return Value
Pointer to the resource associated with the safeguard.
Description
ReleaseItem returns a pointer to the associated resource and then disassociates it with the safeguard. This means that when execution leaves the scope in which the interface variable is declared, the resource will not be automatically freed. By using ReleaseItem you are handed back the responsibility to explicitly release the resource.
About
Donator
Rudy Velthuis
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page