Register a type mapping with the container.

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


The ObjectContainer object that this method was called on.