This documentation is archived and is not being maintained.
ViewDataInfo Constructor (Func(Of Object))
Initializes a new instance of the T:System.Web.Mvc.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)
'Declaration
Public Sub New ( _
valueAccessor As Func(Of Object) _
)
'Usage
Dim valueAccessor As Func(Of Object)
Dim instance As New ViewDataInfo(valueAccessor)
Parameters
- valueAccessor
- Type: System.Func(Of Object)
A delegate that defines how the view data information is accessed.