View Source
  Class PublishedElement
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public class PublishedElement : IPublishedElement
   
  Constructors
  
  
    View Source
  
  PublishedElement(IPublishedContentType, Guid, Nullable<Dictionary<String, Object>>, Boolean, PropertyCacheLevel, VariationContext, ICacheManager)
  
  
  Declaration
  
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object>? values, bool previewing, PropertyCacheLevel referenceCacheLevel, VariationContext variationContext, ICacheManager cacheManager)
   
  Parameters
  
  
    View Source
  
  PublishedElement(IPublishedContentType, Guid, Nullable<Dictionary<String, Object>>, Boolean, PropertyCacheLevel, ICacheManager)
  
  
  Declaration
  
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object>? values, bool previewing, PropertyCacheLevel referenceCacheLevel, ICacheManager cacheManager)
   
  Parameters
  
  
    View Source
  
  PublishedElement(IPublishedContentType, Guid, Dictionary<String, Object>, Boolean)
  
  
  Declaration
  
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object> values, bool previewing)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IPublishedContentType | contentType |  | 
      
        | Guid | key |  | 
      
        | Umbraco.Cms.Core.Dictionary<System.String, System.Object> | values |  | 
      
        | System.Boolean | previewing |  | 
    
  
  
    View Source
  
  PublishedElement(IPublishedContentType, Guid, Dictionary<String, Object>, Boolean, VariationContext)
  
  
  Declaration
  
    public PublishedElement(IPublishedContentType contentType, Guid key, Dictionary<string, object> values, bool previewing, VariationContext variationContext)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IPublishedContentType | contentType |  | 
      
        | Guid | key |  | 
      
        | Umbraco.Cms.Core.Dictionary<System.String, System.Object> | values |  | 
      
        | System.Boolean | previewing |  | 
      
        | VariationContext | variationContext |  | 
    
  
  Properties
  
  
    View Source
  
  ContentType
  
  
  Declaration
  
    public IPublishedContentType ContentType { get; }
   
  Property Value
  
  
    View Source
  
  Key
  
  
  Declaration
  
  Property Value
  
  
    View Source
  
  Properties
  
  
  Declaration
  
    public IEnumerable<IPublishedProperty> Properties { get; }
   
  Property Value
  
  Methods
  
  
    View Source
  
  GetProperty(String)
  
  
  Declaration
  
    public IPublishedProperty GetProperty(string alias)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | alias |  | 
    
  
  Returns