InheritanceAttribute.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

傳回

如果屬性目前的值是預設值,則為 true,否則為 falsetrue if the current value of the attribute is the default; otherwise, false.

適用於

另請參閱