DekGenius.com
[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section