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.