IsMandatory 字段

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.

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services(在 Microsoft.MasterDataServices.Services.dll 中)

语法

声明
<DataMemberAttribute(IsRequired := False)> _
Public IsMandatory As Boolean
用法
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

注释

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