Intersoft ClientUI Documentation
GetRegistration(Type) Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IDependencyRegistrar Interface > GetRegistration Method : GetRegistration(Type) Method






type
The type to get the registration for.
Returns the registration of the specified type.

Syntax

Visual Basic (Declaration) 
Overloads Function GetRegistration( _
   ByVal type As Type _
) As IRegistration
Visual Basic (Usage)Copy Code
Dim instance As IDependencyRegistrar
Dim type As Type
Dim value As IRegistration
 
value = instance.GetRegistration(type)
C# 
IRegistration GetRegistration( 
   Type type
)
Delphi 
function GetRegistration( 
    type: Type
): IRegistration; 
JScript 
function GetRegistration( 
   type : Type
) : IRegistration;
Managed Extensions for C++ 
IRegistration* GetRegistration( 
   Type* type
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.