[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazClasses' (#lazutils)

TRefCountedObject.AddReference

Increments the value in RefCount and calls DoReferenceAdded.

Declaration

Source position: lazclasses.pas line 76

public procedure TRefCountedObject.AddReference;

Description

AddReference and ReleaseReference can be used in threads. However a thread can only call the methods, if either:


Version 4.0 Generated 2025-05-03 Home