Class LayoutMetadata
- Namespace
 - Dynamicweb.Content.Items.Metadata
 
- Assembly
 - Dynamicweb.dll
 
Represents an item layout metadata.
  
  public class LayoutMetadata : IComparable<LayoutMetadata>
  - Inheritance
 - 
      
      LayoutMetadata
 
- Implements
 
- Inherited Members
 
Constructors
LayoutMetadata()
Initializes a new instance of an object.
  
  public LayoutMetadata()
  LayoutMetadata(LayoutMetadata)
Initializes a new instance of an object.
  
  public LayoutMetadata(LayoutMetadata copyFrom)
  Parameters
copyFromLayoutMetadata- Object to copy state from.
 
Exceptions
- ArgumentNullException
 copyFromis null.
Properties
Groups
Gets or sets the collection of groups.
  
  public LayoutGroupMetadataCollection Groups { get; set; }
  Property Value
IsEmpty
Gets value indicating whether this layout is empty.
  
  public bool IsEmpty { get; }
  Property Value
Methods
CompareTo(LayoutMetadata)
Compares the current object with the given one and returns the comparison result.
  
  public int CompareTo(LayoutMetadata other)
  Parameters
otherLayoutMetadata- Object to compare with.
 
Returns
- int
 - Comparison result.
 
CopyTo(LayoutMetadata)
Copies the state of the current object into the given one.
  
  public void CopyTo(LayoutMetadata target)
  Parameters
targetLayoutMetadata- Object to copy state into.
 
Exceptions
- ArgumentNullException
 targetis null.
FindField(string)
public LayoutFieldMetadata FindField(string systemName)
  Parameters
systemNamestring