ExplicitHierarchy.IsMandatory 属性

Gets or sets a value that indicates whether the explicit hierarchy requires child nodes be present.

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

语法

声明
<DataMemberAttribute(IsRequired := False)> _
Public Property IsMandatory As Boolean 
    Get 
    Set
用法
Dim instance As ExplicitHierarchy 
Dim value As Boolean 

value = instance.IsMandatory

instance.IsMandatory = value
[DataMemberAttribute(IsRequired = false)]
public bool IsMandatory { get; set; }
[DataMemberAttribute(IsRequired = false)]
public:
property bool IsMandatory {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute(IsRequired = false)>]
member IsMandatory : bool with get, set
function get IsMandatory () : boolean 
function set IsMandatory (value : boolean)

属性值

类型:System.Boolean
true if the explicit hierarchy requires child nodes be present; otherwise, false.

请参阅

参考

ExplicitHierarchy 类

Microsoft.MasterDataServices.Services.DataContracts 命名空间