Propriété ExplicitHierarchy.IsMandatory
Gets or sets a value that indicates whether all leaf members are required in the hierarchy.
Espace de noms : Microsoft.MasterDataServices
Assembly : Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)
Syntaxe
'Déclaration
<DataMemberAttribute> _
Public Property IsMandatory As Boolean
Get
Set
'Utilisation
Dim instance As ExplicitHierarchy
Dim value As Boolean
value = instance.IsMandatory
instance.IsMandatory = value
[DataMemberAttribute]
public bool IsMandatory { get; set; }
[DataMemberAttribute]
public:
property bool IsMandatory {
bool get ();
void set (bool value);
}
[<DataMemberAttribute>]
member IsMandatory : bool with get, set
function get IsMandatory () : boolean
function set IsMandatory (value : boolean)
Valeur de propriété
Type : System.Boolean
true if all leaf members are required in the hierarchy; otherwise, false.
Notes
Non-mandatory entities create a special parent member called "unused" that initially hold all leaf members.