RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.HasRegInterfaceImpl Method

Indicates whether there is a registered implementation class for an invokable interface.

Pascal
function HasRegInterfaceImpl(Index: Integer): Boolean;
C++
__fastcall Boolean HasRegInterfaceImpl(int Index);

Typically, applications do not need to call HasRegInterfaceImpl. This method is used internally to determine whether an implementation class has been registered for an invokable interface. The RegisterInvokableClass method registers these implementation classes.  

Index identifies the invokable interface for which an implementation class is sought. This index is the same as the index used in the GetRegInterfaceEntry method, and reflects the order in which interfaces are registered.  

HasRegInterfaceImpl returns true if there is a registered implementation class for the specified interface, false otherwise. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!