Class FormFieldCollection
- Namespace
- Dynamicweb.DataManagement
- Assembly
- Dynamicweb.DataManagement.dll
Represents Colelction of FormField items
[Serializable]
public class FormFieldCollection : List<FormField>, IList<FormField>, ICollection<FormField>, IReadOnlyList<FormField>, IReadOnlyCollection<FormField>, IEnumerable<FormField>, IList, ICollection, IEnumerable
- Inheritance
-
FormFieldCollection
- Implements
- Inherited Members
- Extension Methods
Methods
GetById(int)
Gets element form inner collection using id value
public FormField GetById(int id)
Parameters
id
intID of element
Returns
- FormField
FormField object instance
RemoveById(int)
Removes element With specified id from inner collection
public void RemoveById(int id)
Parameters
id
int
Sort(SortBy)
Sorts inner collection
public void Sort(FormFieldCollection.SortBy sortBy)
Parameters
sortBy
FormFieldCollection.SortByColumn of inner collection to be sorted by
Sort(SortBy, bool)
Sorts inner collection
public void Sort(FormFieldCollection.SortBy sortBy, bool ascending)
Parameters
sortBy
FormFieldCollection.SortByColumn of inner collection to be sorted by
ascending
boolDirection of sorting