View Source
  Interface IPropertyCollection
  
  
  
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public interface IPropertyCollection : IDeepCloneable
   
  Properties
  
  
    View Source
  
  Count
  
  
  Declaration
  
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    View Source
  
  Item[Int32]
  Gets the property at the specified index.
 
  
  Declaration
  
    IProperty this[int index] { get; }
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        index | 
         | 
      
    
  
  Property Value
  
  
    View Source
  
  Item[String]
  Gets the property with the specified alias.
 
  
  Declaration
  
    IProperty this[string name] { get; }
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        name | 
         | 
      
    
  
  Property Value
  
  Methods
  
  
    View Source
  
  Add(IProperty)
  Adds or updates a property.
 
  
  Declaration
  
    void Add(IProperty property)
   
  Parameters
  
  
    View Source
  
  ClearCollectionChangedEvents()
  
  
  Declaration
  
    void ClearCollectionChangedEvents()
   
  
    View Source
  
  Contains(String)
  
  
  Declaration
  
    bool Contains(string key)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        key | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    View Source
  
  EnsureCleanPropertyTypes(IEnumerable<IPropertyType>)
  Ensures that the collection does not contain properties not in the specified property types.
 
  
  Declaration
  
    void EnsureCleanPropertyTypes(IEnumerable<IPropertyType> propertyTypes)
   
  Parameters
  
  
    View Source
  
  EnsurePropertyTypes(IEnumerable<IPropertyType>)
  Ensures that the collection contains properties for the specified property types.
 
  
  Declaration
  
    void EnsurePropertyTypes(IEnumerable<IPropertyType> propertyTypes)
   
  Parameters
  
  
    View Source
  
  TryGetValue(String, out IProperty)
  
  
  Declaration
  
    bool TryGetValue(string propertyTypeAlias, out IProperty property)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        propertyTypeAlias | 
         | 
      
      
        | IProperty | 
        property | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         |