RecommendedAsConfigurableAttribute.Yes Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies that a property can be used as an application setting. This static field is read-only.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

static val Yes : RecommendedAsConfigurableAttribute

When you mark a property with RecommendedAsConfigurableAttribute set to true, the value of this attribute is set to the constant member Yes.

Therefore, when you want to check whether the attribute is set to this value in your code, you must specify the attribute as RecommendedAsConfigurableAttribute.Yes.

.NET Framework
Available since 1.1
Return to top