共用方式為


ExplicitHierarchy.IsMandatory 屬性

Gets or sets a value that indicates whether all leaf members are required in the hierarchy.

命名空間:  Microsoft.MasterDataServices
組件:  Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)

語法

'宣告
<DataMemberAttribute> _
Public Property IsMandatory As Boolean
    Get
    Set
'用途
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)

屬性值

型別:System.Boolean
true if all leaf members are required in the hierarchy; otherwise, false.

備註

Non-mandatory entities create a special parent member called "unused" that initially hold all leaf members.

請參閱

參考

ExplicitHierarchy 類別

Microsoft.MasterDataServices 命名空間