Table of Contents

Class ItemMetadataCollection

Namespace
Dynamicweb.Content.Items.Metadata
Assembly
Dynamicweb.dll

Represents a collection of item metadata.

public class ItemMetadataCollection : Collection<ItemType>, IList<ItemType>, ICollection<ItemType>, IReadOnlyList<ItemType>, IReadOnlyCollection<ItemType>, IEnumerable<ItemType>, IList, ICollection, IEnumerable
Inheritance
ItemMetadataCollection
Implements
Inherited Members
Extension Methods

Constructors

ItemMetadataCollection()

Initializes a new instance of an object.

public ItemMetadataCollection()

ItemMetadataCollection(IEnumerable<ItemType>)

Initializes a new instance of an object.

public ItemMetadataCollection(IEnumerable<ItemType> items)

Parameters

items IEnumerable<ItemType>

Elements to be copied to this collection.

Methods

Find(string)

Returns the first element with the given system name.

public ItemType Find(string systemName)

Parameters

systemName string

System name.

Returns

ItemType

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.

To top