JCL Help:TJclMultiSafeGuard.ReleaseItem@Integer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Disassociates the resource from the safeguard.


Pascal

 public function ReleaseItem(Index: Integer): 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

Team JEDI


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