See Also: RecommendedAsConfigurableAttribute
[System.Obsolete("Use SettingsBindableAttribute instead of RecommendedAsConfigurableAttribute")]
public class RecommendedAsConfigurableAttribute : Attribute
Properties that are marked with the RecommendedAsConfigurableAttribute set to true display when you expand the ConfigurableProperties line in the Properties window. A property that has no recommended setting or that is marked with RecommendedAsConfigurableAttribute set to false is not shown and is an unlikely candidate for being an application setting. The default is false.
You can bind a property that does not have a RecommendedAsConfigurableAttribute to a setting in Visual Studio by clicking the ellipsis button (…) under Settings in the Properties window and selecting the appropriate property from the list.
When you mark a property with RecommendedAsConfigurableAttribute set to true, the value of this attribute is set to the constant member RecommendedAsConfigurableAttribute.Yes. For a property marked with RecommendedAsConfigurableAttribute set to value false, the value is RecommendedAsConfigurableAttribute.No. Therefore, when you want to check the value of this attribute in your code, you must specify the attribute as RecommendedAsConfigurableAttribute.Yes or RecommendedAsConfigurableAttribute.No.
For more information, see Extending Metadata Using Attributes.
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 126.96.36.199, 188.8.131.52
The members of System.ComponentModel.RecommendedAsConfigurableAttribute are listed below.
See Also: Attribute
Specifies that a property cannot be used as an application setting. This static field is read-only.
Specifies that a property can be used as an application setting. This static field is read-only.