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






type
The type to be resolved.
Determines if the type TType can be resolved.

Syntax

Visual Basic (Declaration) 
Overloads Function CanResolve( _
   ByVal type As Type _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IDependencyResolver
Dim type As Type
Dim value As Boolean
 
value = instance.CanResolve(type)
C# 
bool CanResolve( 
   Type type
)
Delphi 
function CanResolve( 
    type: Type
): Boolean; 
JScript 
function CanResolve( 
   type : Type
) : boolean;
Managed Extensions for C++ 
bool CanResolve( 
   Type* type
) 
C++/CLI 
bool CanResolve( 
   Type^ type
) 

Parameters

type
The type to be resolved.

Return Value

True if there is an unnamed Registration for the type TType, false otherwise.

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.