TType
The type to be resolved.
Intersoft ClientUI Documentation
Resolve<TType>(String) Method
See Also  Send Feedback
Intersoft.Client.Framework.Containers Namespace > IocContainer Class > Resolve Method : Resolve<TType>(String) Method






name
The name of the registration for type TType.
Resolves the named instance of the type TType.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Resolve(Of TType)( _
   ByVal name As String _
) As TType
Visual Basic (Usage)Copy Code
Dim instance As IocContainer
Dim name As String
Dim value As TType
 
value = instance.Resolve(Of TType)(name)
C# 
public TType Resolve<TType>( 
   string name
)
Delphi 
public function Resolve( 
    name: String
): TType; 
JScript 
public function Resolve( 
   name : String
) : TType;
Managed Extensions for C++ 
public: TType* Resolve<TType>( 
   string* name
) 
C++/CLI 
public:
TType^ Resolvegeneric<typename TType>
( 
   String^ name
) 

Parameters

name
The name of the registration for type TType.

Type Parameters

TType
The type to be resolved.

Return Value

An instance of the class registered to resolve the type TType.

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.