Table of Contents

Class FieldCollection

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Represents collection of fields

public class FieldCollection : List<Field>, IList<Field>, ICollection<Field>, IReadOnlyList<Field>, IReadOnlyCollection<Field>, IEnumerable<Field>, IList, ICollection, IEnumerable
Inheritance
FieldCollection
Implements
Inherited Members
Extension Methods

Methods

FindByName(string)

Finds field by name

public Field FindByName(string name)

Parameters

name string

Name of field to be found

Returns

Field

Field object instance

Remove(Field)

Removes element with defined value from inner collection

public void Remove(Field value)

Parameters

value Field

Value of element to be removed

SortByName()

Sorts inner collection by name

public void SortByName()

SortByName(bool)

Sorts inner collection by name

public void SortByName(bool ascending)

Parameters

ascending bool

Direction of sorting

To top