Leadtools.Medical.Workstation.DataTypes Namespace > ServiceCollection Class > Add Method : Add(Type,Object) Method |
public void Add( Type serviceType, object serviceInstance )
'Declaration Public Overloads Sub Add( _ ByVal serviceType As Type, _ ByVal serviceInstance As Object _ )
'Usage Dim instance As ServiceCollection Dim serviceType As Type Dim serviceInstance As Object instance.Add(serviceType, serviceInstance)
public void Add( Windows.UI.Xaml.Interop.TypeName serviceType, object serviceInstance )
function Leadtools.Medical.Workstation.DataTypes.ServiceCollection.Add(Type,Object)( serviceType , serviceInstance )
public: void Add( Type* serviceType, Object* serviceInstance )
public: void Add( Type* serviceType, Object* serviceInstance )
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