CodeDomLocalizationModel Enumeration

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

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

public enum CodeDomLocalizationModel
public enum CodeDomLocalizationModel
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. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0