Share via


PropertyValue.IsDefaultValue 属性

定义

在派生类中实现时,获取一个值,指示 Value 是否为该属性的默认值。

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

属性值

true 如果值为默认值,则为 ;否则为 false

适用于