ASP.NET MVC Controls
CanResolve Method

The name of the object.
The object value.
The object type.
The context.
Determines whether the object can use this resolver.
Syntax
'Declaration
 
Public Overridable Function CanResolve( _
   ByVal name As String, _
   ByVal value As Object, _
   ByVal type As Type, _
   ByVal context As IContext _
) As Boolean
public virtual bool CanResolve( 
   string name,
   object value,
   Type type,
   IContext context
)

Parameters

name
The name of the object.
value
The object value.
type
The object type.
context
The context.

Return Value

A System.Boolean value indicates whether to be resovled. If true, it means the object can be resolved. Otherwise, the resolver cannot support this object.
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

BaseResolver Class
BaseResolver Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback