LocalizableAttribute

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



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net