Share via


Collection.Weight Property

Gets or sets a Decimal that specifies the weight of the collection.

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

Syntax

'Declaration
<DataMemberAttribute(EmitDefaultValue := 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)]
public decimal Weight { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property Decimal Weight {
    Decimal get ();
    void set (Decimal value);
}
[<DataMemberAttribute(EmitDefaultValue = 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 Namespace