System.Bindings.EvalProtocol.IScopeEx.Lookup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Lookup(Obj: TObject): IInterface; overload;

C++

HIDESBASE virtual System::_di_IInterface __fastcall Lookup(System::TObject* Obj) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Bindings.EvalProtocol.pas
System.Bindings.EvalProtocol.hpp
System.Bindings.EvalProtocol IScopeEx

Description

Searches the scope for an object wrapper.

The Lookup method is used to search the scope for an object wrapper.

The Obj parameter specifies the object that must be wrapped by the search wrapper.

Lookup returns a reference to the wrapper, or nil if there is no wrapper around the given object.

See Also