March 2003
Intermediate to advanced
896 pages
32h 35m
English
LocalizableAttribute
This attribute adorns properties to specify how their values should
be serialized by the designer. If the class is unadorned, or marked
with an attribute for which IsLocalizable is
false, the designer will attempt to serialize the value in code. If
IsLocalizable is true, it will serialize to a
resource file and inject code to retrieve the value from there
instead.
public sealed class LocalizableAttribute : Attribute { // Public Constructors public LocalizableAttribute(bool isLocalizable); // Public Static Fields public static readonly LocalizableAttribute Default; // =System.ComponentModel.LocalizableAttribute public static readonly LocalizableAttribute No; // =System.ComponentModel.LocalizableAttribute public static readonly LocalizableAttribute Yes; // =System.ComponentModel.LocalizableAttribute // Public Instance Properties public bool IsLocalizable{get; } // Public Instance Methods public override bool Equals(object obj); // overrides Attribute public override int GetHashCode(); // overrides Attribute public override bool IsDefaultAttribute(); // overrides Attribute }
System.Object
→ System.Attribute → LocalizableAttribute
All
Read now
Unlock full access