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