Intersoft.Client.Framework.Containers Namespace > IDependencyRegistrar Interface > RegisterInstance Method : RegisterInstance(Type,Object) Method |
Overloads Function RegisterInstance( _ ByVal type As Type, _ ByVal instance As Object _ ) As IRegistration
Dim instance As IDependencyRegistrar Dim type As Type Dim instance As Object Dim value As IRegistration value = instance.RegisterInstance(type, instance)
IRegistration RegisterInstance( Type type, object instance )
IRegistration^ RegisterInstance( Type^ type, Object^ instance )
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