Share via


ViewDataInfo Constructors

Definition

Overloads

ViewDataInfo()

Initializes a new instance of the ViewDataInfo class.

ViewDataInfo(Func<Object>)

Initializes a new instance of the T:System.Web.Mvc.ViewDataInfo class and associates a delegate for accessing the view data information.

ViewDataInfo()

Initializes a new instance of the ViewDataInfo class.

public ViewDataInfo ();
Public Sub New ()

Applies to

ViewDataInfo(Func<Object>)

Initializes a new instance of the T:System.Web.Mvc.ViewDataInfo class and associates a delegate for accessing the view data information.

public ViewDataInfo (Func<object> valueAccessor);
new System.Web.Mvc.ViewDataInfo : Func<obj> -> System.Web.Mvc.ViewDataInfo
Public Sub New (valueAccessor As Func(Of Object))

Parameters

valueAccessor
Func<Object>

A delegate that defines how the view data information is accessed.

Applies to