System.Bindings.Factories.TBindingScopeFactory.RegisterScope

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure RegisterScope(ObjectType: TClass; ScopeClass: TScopeClass);

C++

__classmethod void __fastcall RegisterScope(System::TClass ObjectType, System::Bindings::Customscope::TScopeClass ScopeClass);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Bindings.Factories.pas
System.Bindings.Factories.hpp
System.Bindings.Factories TBindingScopeFactory

Description

Registers the specified scope class for the specified object class.

The RegisterScope method registers the specified scope class for the specified object class. Call RegisterScope with the following parameters:

Parameter Meaning
ObjectType Class reference for the object to which the scope type is attached.
ScopeClass Scope class reference registered for the given object type.

See Also