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
返回
如果 PersistenceModeAttribute 属于默认类型,则为 true;否则为 false。true if the PersistenceModeAttribute is of the default type; otherwise, false.
注解
此方法在 Equals 传入属性所引用的对象时,将调用方法 Default 。This method performs calls the Equals method while passing in the object referenced by the Default property.