Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Show:
© 2015 Microsoft