Intersoft ClientUI Documentation
GetRegistration(Type) Method



The type to get the registration for.
Returns the registration of the specified type.
Syntax
Public Overloads Function GetRegistration( _
   ByVal type As Type _
) As IRegistration
Dim instance As IocContainer
Dim type As Type
Dim value As IRegistration
 
value = instance.GetRegistration(type)
public IRegistration GetRegistration( 
   Type type
)
public:
IRegistration^ GetRegistration( 
   Type^ type
) 

Parameters

type
The type to get the registration for.

Return Value

A registration instance for the specified type. Throws a KeyNoFoundException if the registration cannot be found.
Requirements

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

See Also

Reference

IocContainer Class
IocContainer Members
Overload List

Send Feedback