Share via


ExplicitHierarchy.IsMandatory Property

Definition

Gets or sets a value that indicates whether all leaf members are required in the hierarchy.

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

Property Value

true if all leaf members are required in the hierarchy; otherwise, false.

Attributes

Remarks

Non-mandatory entities create a special parent member called "unused" that initially hold all leaf members.

Applies to