Share via


ExplicitHierarchy.IsMandatory Property

Gets or sets a value that indicates whether the explicit hierarchy requires child nodes be present.

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

Syntax

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

value = instance.IsMandatory

instance.IsMandatory = value
[DataMemberAttribute(IsRequired = false)]
public bool IsMandatory { get; set; }
[DataMemberAttribute(IsRequired = false)]
public:
property bool IsMandatory {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute(IsRequired = false)>]
member IsMandatory : bool with get, set
function get IsMandatory () : boolean 
function set IsMandatory (value : boolean)

Property Value

Type: System.Boolean
true if the explicit hierarchy requires child nodes be present; otherwise, false.

See Also

Reference

ExplicitHierarchy Class

Microsoft.MasterDataServices.Services.DataContracts Namespace