Share via


Collection.Weight Property

Gets or sets the weight of the collection.

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 Collection 
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 collection.

See Also

Reference

Collection Class

Microsoft.MasterDataServices.Services.DataContracts Namespace