Register a type mapping with the container.

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


- name (String)
- Name to use for registration, null if a default registration.

The ObjectContainer object that this method was called on.