Intersoft ClientUI Documentation
GetRegistration(String,Type) Method



The name associated with the named registration to get.
The type to get the registration for.
Returns a named registration of the specified type.
Syntax
Overloads Function GetRegistration( _
   ByVal name As String, _
   ByVal type As Type _
) As IRegistration
Dim instance As IDependencyRegistrar
Dim name As String
Dim type As Type
Dim value As IRegistration
 
value = instance.GetRegistration(name, type)
IRegistration GetRegistration( 
   string name,
   Type type
)
IRegistration^ GetRegistration( 
   String^ name,
   Type^ type
) 

Parameters

name
The name associated with the named registration to get.
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

IDependencyRegistrar Interface
IDependencyRegistrar Members
Overload List

Send Feedback