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
copyFromMetadataContainer- Object to copy state from.
 
Exceptions
- ArgumentNullException
 copyFromis 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
otherMetadataContainer- 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
targetMetadataContainer- Object to copy state into.
 
Exceptions
- ArgumentNullException
 targetis null.