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
MetadataContainer- Object 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
MetadataContainer- Object 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
MetadataContainer- Object to copy state into.
Exceptions
- ArgumentNullException
target
is null.