共用方式為


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.