ExplicitHierarchy.IsMandatory 属性

定义

指定层次结构中是否需要所有叶成员。 非强制实体创建名为“未使用”的特殊父成员,该成员最初保留所有叶成员。

public:
 property bool IsMandatory { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember(IsRequired=false)]
public bool IsMandatory { get; set; }
[<System.Runtime.Serialization.DataMember(IsRequired=false)>]
member this.IsMandatory : bool with get, set
Public Property IsMandatory As Boolean

属性值

如果层次结构中需要所有的叶成员,则为 true;否则为 false

属性

适用于