ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Threading.TJamInterlocked.IntfAssign
Syntax
Pascal
class procedure IntfAssign<T:IInterface>(var pIntf: T; const pValue: T); overload; static;
Parameters 
Description 
var pIntf: T 
The interface variable or member that should be assigned. 
const pValue: T 
The interface value that should get assigned. 

Assigns an interface to a variable and releases the previous interface (if assigned) in an atomic and so threadsafe operation.