Class FieldMetadataCollection
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Represents a collection of item field metadata.
public class FieldMetadataCollection : Collection<ItemField>, IList<ItemField>, ICollection<ItemField>, IReadOnlyList<ItemField>, IReadOnlyCollection<ItemField>, IEnumerable<ItemField>, IList, ICollection, IEnumerable
- Inheritance
-
FieldMetadataCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
FieldMetadataCollection()
Initializes a new instance of an object.
public FieldMetadataCollection()
FieldMetadataCollection(IEnumerable<ItemField>)
Initializes a new instance of an object.
public FieldMetadataCollection(IEnumerable<ItemField> items)
Parameters
items
IEnumerable<ItemField>Elements to be copied to this collection.
Methods
Find(string)
Returns the first element with the given system name.
public ItemField Find(string systemName)
Parameters
systemName
stringSystem name.
Returns
- ItemField
The first element with the given system name.
FindIndex(string)
Returns an index of a first element from the collection with the given system name.
public int FindIndex(string systemName)
Parameters
systemName
stringSystem name.
Returns
- int
An index of a first element from the collection with the given system name.