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