Show / Hide Table of Contents

Method GetCurrentValues

| Improve this Doc View Source

GetCurrentValues(ViewContext, Column, Object, Boolean)

Gets the collection of current values for the given column.

Declaration
ICollection<string> GetCurrentValues(ViewContext viewContext, Column column, object dataValue, bool allowMultiple)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext

The view context.

Column column

The column.

System.Object dataValue

The data value.

System.Boolean allowMultiple

Indicates whether multiple values allowed.

Returns
Type Description
System.Collections.Generic.ICollection<System.String>

null if no expression result is found. Otherwise a collection of strings containing current values.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest