Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class FieldFilterCollection

Represents field filter collection.

Inheritance
System.Object
FieldFilterCollection
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class FieldFilterCollection : CollectionBase

Constructors

FieldFilterCollection()

Initializes a new instance of the FieldFilterCollection class.

Declaration
public FieldFilterCollection()

Properties

Item[Int32]

Gets the FieldFilter at the specified index.

Declaration
public FieldFilter this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
FieldFilter

Methods

Add(FieldFilter)

Adds the internal.

Declaration
public int Add(FieldFilter filter)
Parameters
Type Name Description
FieldFilter filter

The filter.

Returns
Type Description
System.Int32

Allow(String)

Allows the specified field name.

Declaration
public bool Allow(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

Returns
Type Description
System.Boolean

Contains(FieldFilter)

Determines whether [contains] [the specified filter].

Declaration
public bool Contains(FieldFilter filter)
Parameters
Type Name Description
FieldFilter filter

The filter.

Returns
Type Description
System.Boolean

true if [contains] [the specified filter]; otherwise, false.

Deny(String)

Denies the specified field name.

Declaration
public bool Deny(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

Returns
Type Description
System.Boolean

IndexOf(FieldFilter)

Indexes the of.

Declaration
public int IndexOf(FieldFilter filter)
Parameters
Type Name Description
FieldFilter filter

The filter.

Returns
Type Description
System.Int32

Insert(Int32, FieldFilter)

Inserts the specified index.

Declaration
public void Insert(int index, FieldFilter filter)
Parameters
Type Name Description
System.Int32 index

The index.

FieldFilter filter

The filter.

Remove(FieldFilter)

Removes the specified meta class.

Declaration
public void Remove(FieldFilter filter)
Parameters
Type Name Description
FieldFilter filter

The meta class.