System.ComponentModel.Design.Serialization.CodeDomLocalizationModel Enumeration

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

Syntax

public enum CodeDomLocalizationModel

Remarks

Documentation for this section has not yet been entered.

Members

Member NameDescription
None

The localization provider should ignore localized properties. It will still write out resources for objects that do not support code generation and are serializable.

PropertyAssignment

The 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.

PropertyReflection

The localization provider will write localized property values into a resource file and use the System.ComponentModel.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.

Requirements

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