Class ContentLanguageSetting
  
  Defined language setting per content in EPiServer similar to dynamic properties
    Inheritance
    System.Object
    ContentLanguageSetting
   
  
  
  Assembly: EPiServer.dll
  Version: 12.0.3
  Syntax
  
    public class ContentLanguageSetting : Object, IReadOnly<ContentLanguageSetting>, IReadOnly
   
  Constructors
  
  
  
  
  ContentLanguageSetting()
  
  
  Declaration
  
    public ContentLanguageSetting()
   
  
  
  
  ContentLanguageSetting(ContentReference, String)
  
  
  Declaration
  
    public ContentLanguageSetting(ContentReference contentLink, string language)
   
  Parameters
  
  
  
  
  ContentLanguageSetting(ContentReference, String, String, String[])
  
  
  Declaration
  
    public ContentLanguageSetting(ContentReference contentLink, string language, string replacementLanguage, string[] languageFallback)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | contentLink |  | 
      
        | System.String | language |  | 
      
        | System.String | replacementLanguage |  | 
      
        | System.String[] | languageFallback |  | 
    
  
  
  
  
  ContentLanguageSetting(ContentReference, String, String, String[], Boolean)
  
  
  Declaration
  
    public ContentLanguageSetting(ContentReference contentLink, string language, string replacementLanguage, string[] languageFallback, bool active)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | contentLink |  | 
      
        | System.String | language |  | 
      
        | System.String | replacementLanguage |  | 
      
        | System.String[] | languageFallback |  | 
      
        | System.Boolean | active |  | 
    
  
  Properties
  
  
  
  
  DefinedOnContent
  Specifies which content this language setting is defined on.
Declaration
  
    public ContentReference DefinedOnContent { get; set; }
   
  Property Value
  
  
  
  
  IsActive
  Gets or sets a value indicating whether this language is active.
Declaration
  
    public bool IsActive { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  IsReadOnly
  
  
  Declaration
  
    public bool IsReadOnly { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  LanguageBranch
  For the language branch this setting has been defined
Declaration
  
    public string LanguageBranch { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  LanguageBranchFallback
  A list of fallback languages when a language is missing
Declaration
  
    public string[] LanguageBranchFallback { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String[] |  | 
    
  
  
  
  
  ReplacementLanguageBranch
  The default language if a language selection has not been done
Declaration
  
    public string ReplacementLanguageBranch { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Methods
  
  
  
  
  CreateWritableClone()
  
  
  Declaration
  
    public ContentLanguageSetting CreateWritableClone()
   
  Returns
  
  
  
  
  MakeReadOnly()
  
  
  Declaration
  
    public void MakeReadOnly()
   
  Explicit Interface Implementations
  
  
  
  
  IReadOnly.CreateWritableClone()
  
  
  Declaration
  
    object IReadOnly.CreateWritableClone()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Object |  | 
    
  
  Implements
  
  
  Extension Methods