ConfigurationAttribute.IsInheritedFromDefaultValue 属性

定义

获取一个值,该值指示属性值是否为默认值。

public:
 property bool IsInheritedFromDefaultValue { bool get(); };
public bool IsInheritedFromDefaultValue { get; }
member this.IsInheritedFromDefaultValue : bool
Public ReadOnly Property IsInheritedFromDefaultValue As Boolean

属性值

true 如果值继承自属性元数据中定义的默认值,则为 ;否则为 false

注解

此属性的值是通过读取配置属性的 isDefaultValue 元数据来确定的。

适用于