Share via


ExplicitHierarchy.IsMandatory Field

Indicates whether all leaf members are required in the hierarchy. Non-mandatory entities create a special parent member called "unused" that initially hold all leaf members.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False)> _
Public IsMandatory As Boolean
'Usage
Dim instance As ExplicitHierarchy
Dim value As Boolean

value = instance.IsMandatory

instance.IsMandatory = value
[DataMemberAttribute(IsRequired = false)]
public bool IsMandatory
[DataMemberAttribute(IsRequired = false)]
public:
bool IsMandatory
[<DataMemberAttribute(IsRequired = false)>]
val mutable IsMandatory: bool
public var IsMandatory : boolean

Remarks

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