Compartilhar via


Propriedade do RDL IsMandatory

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

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (em Microsoft.MasterDataServices.dll)

Sintaxe

'Declaração
<DataMemberAttribute> _
Public Property IsMandatory As Boolean
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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