Class LanguageBehaviour
Specifies how languages should be handled during loading of IContent.
Inheritance
System.Object
LanguageBehaviour
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public sealed class LanguageBehaviour : Enum
Fields
Fallback
Loads the IContent in the requested language. If the IContent instance does not exist or is not published in the requested language then language settings is taken into consideration to see if it should load the IContent instance in another language.
Declaration
public const LanguageBehaviour Fallback
Field Value
Type | Description |
---|---|
LanguageBehaviour |
FallbackWithMaster
Works as Fallback but with an additional fallback to master language.
Declaration
public const LanguageBehaviour FallbackWithMaster
Field Value
Type | Description |
---|---|
LanguageBehaviour |
NoFallback
Loads the IContent in the requested language. No consideration is taken to fallback or replacement settings.
Declaration
public const LanguageBehaviour NoFallback
Field Value
Type | Description |
---|---|
LanguageBehaviour |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |