LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Register(Type,Type,String) Method
See Also 
Leadtools.Dicom.AddIn Namespace > ServiceLocator Class > Register Method : Register(Type,Type,String) Method



from
Type that will be requested.
to
Type that will actually be returned.
name
Name to use for registration.
from
Type that will be requested.
to
Type that will actually be returned.
name
Name to use for registration.
Registers a type mapping with the container.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Sub Register( _
   ByVal from As Type, _
   ByVal to As Type, _
   ByVal name As String _
) 
Visual Basic (Usage)Copy Code
Dim from As Type
Dim to As Type
Dim name As String
 
ServiceLocator.Register(from, to, name)
C# 
public static void Register( 
   Type from,
   Type to,
   string name
)
C++/CLI 
public:
static void Register( 
   Type^ from,
   Type^ to,
   String^ name
) 

Parameters

from
Type that will be requested.
to
Type that will actually be returned.
name
Name to use for registration.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features