InheritanceMappingAttribute.IsDefault 属性

定义

获取或设置当鉴别器值与指定值不匹配时,此类型的对象是否在实例化中。

public:
 property bool IsDefault { bool get(); void set(bool value); };
public bool IsDefault { get; set; }
member this.IsDefault : bool with get, set
Public Property IsDefault As Boolean

属性值

默认值 = false

注解

必须将其中一个 InheritanceMappingAttribute 属性声明 IsDefaulttrue.

适用于