DekGenius.com
[ Team LiB ] Previous Section Next Section

LocalizableAttribute

System.ComponentModel (system.dll)sealed class

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
}

Hierarchy

System.Object System.Attribute LocalizableAttribute

Valid On

All

    [ Team LiB ] Previous Section Next Section