DataObjectAttribute.IsDefaultAttribute 方法

定义

获取一个值,该值指示该特性的当前值是否为该特性的默认值。Gets a value indicating whether the current value of the attribute is the default value for the attribute.

public:
 override bool IsDefaultAttribute();
public override bool IsDefaultAttribute ();
override this.IsDefaultAttribute : unit -> bool
Public Overrides Function IsDefaultAttribute () As Boolean

返回

Boolean

如果该特性的当前值是默认值,则为 true;否则为 falsetrue if the current value of the attribute is the default; otherwise, false.

适用于