LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

Get<TService>() Method







The type of the service to return.
Returns a service of a specific type.
Syntax
public TService Get<TService>()
'Declaration
 
Public Overloads Function Get(Of TService)() As TService
'Usage
 
Dim instance As ServiceCollection
Dim value As TService
 
value = instance.Get(Of TService)()
public TService Get<TService>()
 function Leadtools.Medical.Workstation.DataTypes.ServiceCollection.Get``1()()
public: TService* Get<TService>(); 
public:
TService* Getgeneric<typename TService>
(); 

Type Parameters

TService
The type of the service to return.

Return Value

A service object of the requested type. Null if the service doesn't exists.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceCollection Class
ServiceCollection Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.