FromStringExpression Method
Collapse the table of content
Expand the table of content

ModelMetadata.FromStringExpression Method (String, ViewDataDictionary)

 

Gets the metadata from the expression parameter for the model.

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

Public Shared Function FromStringExpression (
	expression As String,
	viewData As ViewDataDictionary
) As ModelMetadata

Parameters

expression
Type: System.String

An expression that identifies the model.

viewData
Type: System.Web.Mvc.ViewDataDictionary

The view data dictionary.

Return Value

Type: System.Web.Mvc.ModelMetadata

The metadata for the model.

Return to top
Show:
© 2016 Microsoft