Register a type mapping with the container.

C# | Visual Basic | Visual C++ |
IObjectContainer RegisterType<TFrom, TTo>() where TTo :
Function RegisterType(Of TFrom, TTo As ) As IObjectContainer
generic<typename TFrom, typename TTo> where TTo : IObjectContainer^ RegisterType()


The ObjectContainer object that this method was called on.