RecommendedAsConfigurableAttribute

RecommendedAsConfigurableAttribute

System.ComponentModel (system.dll) class

This attribute is added to a class to mark it as an application setting. A property decorated with this attribute will appear in the Configurations section of the designer and will allow you to map its value to a particular key in a configuration file.

The RecommendedAsConfigurable property determines the state of the attribute, but you should compare against the static Yes and No values for equality.

 public class  RecommendedAsConfigurableAttribute  : Attribute {  // Public Constructors  public  RecommendedAsConfigurableAttribute  (bool  recommendedAsConfigurable  );  // Public Static Fields  public static readonly RecommendedAsConfigurableAttribute  Default  ;  // =System.ComponentModel.RecommendedAsConfigurableAttribute  public static readonly RecommendedAsConfigurableAttribute  No  ;  // =System.ComponentModel.RecommendedAsConfigurableAttribute  public static readonly RecommendedAsConfigurableAttribute  Yes  ;  // =System.ComponentModel.RecommendedAsConfigurableAttribute   // Public Instance Properties  public bool  RecommendedAsConfigurable  {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 RecommendedAsConfigurableAttribute

Valid On

Property



. 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