MetaTable.GetFilteredColumns Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves a list of columns that are filterable.

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

public virtual IEnumerable<MetaColumn> GetFilteredColumns()

Return Value

Type: System.Collections.Generic.IEnumerable<MetaColumn>

A list of columns that are filterable.

A column is filterable if it is annotated with the DisplayColumnAttribute attribute and the Enabled property of the FilterAttribute attribute of the column is set to true.

.NET Framework
Available since 4.0
Return to top
Show: