ViewDataInfo Constructor (Func<Object>)
Initializes a new instance of the ViewDataInfo class and associates a delegate for accessing the view data information.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
valueAccessor As Func(Of Object) _
)
public ViewDataInfo(
Func<Object> valueAccessor
)
public:
ViewDataInfo(
Func<Object^>^ valueAccessor
)
Parameters
- valueAccessor
Type: System.Func<Object>
A delegate that defines how the view data information is accessed.