Class MetadataContainer
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Represents a metadata container.
public class MetadataContainer : IComparable<MetadataContainer>
- Inheritance
-
MetadataContainer
- Implements
- Inherited Members
Constructors
MetadataContainer()
Initializes a new instance of an object.
public MetadataContainer()
MetadataContainer(MetadataContainer)
Initializes a new instance of an object.
public MetadataContainer(MetadataContainer copyFrom)
Parameters
copyFrom
MetadataContainerObject to copy state from.
Exceptions
- ArgumentNullException
copyFrom
is null.
Properties
Items
Gets or sets the metadata for each item.
public ItemMetadataCollection Items { get; set; }
Property Value
Methods
CompareTo(MetadataContainer)
Compares the current object with the given one and returns the comparison result.
public int CompareTo(MetadataContainer other)
Parameters
other
MetadataContainerObject to compare with.
Returns
- int
Comparison result.
CopyTo(MetadataContainer)
Copies the state of the current object into the given one.
public void CopyTo(MetadataContainer target)
Parameters
target
MetadataContainerObject to copy state into.
Exceptions
- ArgumentNullException
target
is null.