다음을 통해 공유


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.