ViewDataEvaluator.Eval Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Eval(ViewDataDictionary, String) |
Gets ViewDataInfo for named |
Eval(Object, String) |
Gets ViewDataInfo for named |
Eval(ViewDataDictionary, String)
- Source:
- ViewDataEvaluator.cs
- Source:
- ViewDataEvaluator.cs
- Source:
- ViewDataEvaluator.cs
Gets ViewDataInfo for named expression
in given
viewData
.
public:
static Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataInfo ^ Eval(Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ viewData, System::String ^ expression);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval (Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, string expression);
static member Eval : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * string -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo
Public Shared Function Eval (viewData As ViewDataDictionary, expression As String) As ViewDataInfo
Parameters
- viewData
- ViewDataDictionary
The ViewDataDictionary that may contain the expression
value.
- expression
- String
Expression name, relative to viewData.Model
.
Returns
ViewDataInfo for named expression
in given viewData
.
Applies to
Eval(Object, String)
- Source:
- ViewDataEvaluator.cs
- Source:
- ViewDataEvaluator.cs
- Source:
- ViewDataEvaluator.cs
Gets ViewDataInfo for named expression
in given
indexableObject
.
public:
static Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataInfo ^ Eval(System::Object ^ indexableObject, System::String ^ expression);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo Eval (object indexableObject, string expression);
static member Eval : obj * string -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataInfo
Public Shared Function Eval (indexableObject As Object, expression As String) As ViewDataInfo
Parameters
- expression
- String
Expression name, relative to indexableObject
.
Returns
ViewDataInfo for named expression
in given
indexableObject
.