Intersoft ClientUI Documentation
Register Method
See Also  Send Feedback
Intersoft.Client.Framework.Regions Namespace > RegionAdapter Class : Register Method






controlType
The type of the control.
adapter
The adapter to use with the controlType type.
Registers an adapter to the specified type.

Syntax

Visual Basic (Declaration) 
Public Sub Register( _
   ByVal controlType As Type, _
   ByVal adapter As Func(Of IRegionAdapter) _
) 
Visual Basic (Usage)Copy Code
Dim instance As RegionAdapter
Dim controlType As Type
Dim adapter As Func(Of IRegionAdapter)
 
instance.Register(controlType, adapter)
C# 
public void Register( 
   Type controlType,
   Func<IRegionAdapter> adapter
)
Delphi 
public procedure Register( 
    controlType: Type;
    adapter: Func
); 
JScript 
public function Register( 
   controlType : Type,
   adapter : Func
);
Managed Extensions for C++ 
public: void Register( 
   Type* controlType,
   Func<IRegionAdapter*>* adapter
) 
C++/CLI 
public:
void Register( 
   Type^ controlType,
   Func<IRegionAdapter^>^ adapter
) 

Parameters

controlType
The type of the control.
adapter
The adapter to use with the controlType type.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.