ViewDataInfo Class

Encapsulates information about the current template content that is used to develop templates and about HTML helpers that interact with templates.


Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class ViewDataInfo

The ViewDataInfo type exposes the following members.

Public methodViewDataInfo()Initializes a new instance of the ViewDataInfo class.
Public methodViewDataInfo(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 propertyContainerGets or sets the object that contains the values to be displayed by the template.
Public propertyPropertyDescriptorGets or sets the description of the property to be displayed by the template.
Public propertyValueGets or sets the current value to be displayed by the template.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.