PersistenceModeAttribute.IsDefaultAttribute 方法

定义

指示 PersistenceModeAttribute 对象是否属于默认类型。Indicates whether the PersistenceModeAttribute object is of the default type.

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

返回

Boolean

如果 PersistenceModeAttribute 属于默认类型,则为 true;否则为 falsetrue if the PersistenceModeAttribute is of the default type; otherwise, false.

注解

此方法在 Equals 传入属性所引用的对象时,将调用方法 DefaultThis method performs calls the Equals method while passing in the object referenced by the Default property.

适用于