System.Bindings.CustomScope.TCustomScope.Lookup
Delphi
function Lookup(const Name: string): IInterface;
C++
System::_di_IInterface __fastcall Lookup(const System::UnicodeString Name);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Bindings.CustomScope.pas System.Bindings.CustomScope.hpp |
System.Bindings.CustomScope | TCustomScope |
Description
Called by the engine whenever it needs a custom wrapper for the given symbol.
The Lookup method is called by the engine whenever it needs a custom wrapper for the given symbol. If the wrapper is found in the internal cache, it returns the reference from there, otherwise it calls DoLookup, for which you can provide the returning of a custom wrapper.