RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRemotableTypeRegistry.AutoRegisterNativeTypes Property

Specifies whether types that are used in an invokable interface or by a remotable class are automatically registered.

Pascal
property AutoRegisterNativeTypes: Boolean;
C++
__property Boolean AutoRegisterNativeTypes;

When AutoRegisterNativeTypes is true (the default), type definitions are automatically registered when the invokable interface or remotable class that uses them is registered. That is, when you register an invokable interface with the invocation registry or when you register a remotable class with the remotable type registry, the registry checks whether it makes use of types that are not yet registered, and if so, registers them as well. Note that you can still provide your own registration (for example, to control the external name or namespace) by registering the type before the call that registers the interface or remotable class. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!