Intersoft ClientUI Documentation
GetRegistration<TType>() Method



The type to get the registration for.
Returns the registration of the specified type.
Syntax
Overloads Function GetRegistration(Of TType As Class)() As IRegistration
Dim instance As IDependencyRegistrar
Dim value As IRegistration
 
value = instance.GetRegistration(Of TType)()
IRegistration GetRegistration<TType>()
where TType: class
IRegistration^ GetRegistrationgeneric<typename TType>
(); 
where TType: ref class

Type Parameters

TType
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

IDependencyRegistrar Interface
IDependencyRegistrar Members
Overload List

Send Feedback