Share via


ParentChild.Weight Property

Gets or sets the weight of the parent-child relationship.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := False, IsRequired := False)> _
Public Property Weight As Decimal 
    Get 
    Set
'Usage
Dim instance As ParentChild 
Dim value As Decimal 

value = instance.Weight

instance.Weight = value
[DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)]
public decimal Weight { get; set; }
[DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)]
public:
property Decimal Weight {
    Decimal get ();
    void set (Decimal value);
}
[<DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)>]
member Weight : decimal with get, set
function get Weight () : decimal 
function set Weight (value : decimal)

Property Value

Type: System.Decimal
The weight of the parent-child relationship.

See Also

Reference

ParentChild Class

Microsoft.MasterDataServices.Services.DataContracts Namespace