CodeDomLocalizationModel Enumeration

CodeDomLocalizationModel Enumeration

Determines the localization model to be used by the CodeDom resource adapter.

Namespace:  System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public enum CodeDomLocalizationModel

Member nameDescription
NoneThe localization provider should ignore localized properties. It will still write out resources for objects that do not support code generation and are serializable.
PropertyAssignmentThe localization provider will write out localized properties by assigning a resource to each property. This model is fast when the number of properties is small, but it scales poorly as the number of properties containing default values grows.
PropertyReflectionThe localization provider will write localized property values into a resource file and use the ComponentResourceManager class to reflect on properties by name to fill them at runtime. This uses reflection at runtime so it can be slow, but it scales better for large numbers of properties with default values.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

© 2015 Microsoft