Partager via


Propriété Collection.Weight

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

Espace de noms :  Microsoft.MasterDataServices
Assembly :  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Syntaxe

'Déclaration
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property Weight As Decimal
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Decimal
The weight of the collection.

Voir aussi

Référence

Collection Classe

Espace de noms Microsoft.MasterDataServices