ExpressionHelper.GetExpressionText Method (String)

Gets the model name from a string expression.

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

'Declaration
Public Shared Function GetExpressionText ( _
	expression As String _
) As String
'Usage
Dim expression As String 
Dim returnValue As String 

returnValue = ExpressionHelper.GetExpressionText(expression)

Parameters

expression
Type: System.String

The expression.

Return Value

Type: System.String
The model name.
Show: