DynamicResourceManagerCompatibleFormat Property

Gets or sets whether the .resx files should use a compatible format when the resources are automatically saved.
Default value:

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool CompatibleFormat { get; set; }

Property Value

Boolean

Remarks

The changes can be always saved by the SaveAllResources method, where compatible format can be explicitly requested. This property affects the result of auto saving controlled by the AutoSave property.

If CompatibleFormat is the result .resx files can be read by a System.Resources.ResXResourceReader instance and the Visual Studio Resource Editor. If it is , the result .resx files are often shorter, and the values can be deserialized with better accuracy (see the remarks at ResXResourceWriter), but the result can be read only by the ResXResourceReader class.

See Also