Поделиться через


Свойство Collection.Weight

Gets or sets the weight of the collection.

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services.Contracts (в Microsoft.MasterDataServices.Services.Contracts.dll)

Синтаксис

'Декларация
<DataMemberAttribute(EmitDefaultValue := False, IsRequired := False)> _
Public Property Weight As Decimal 
    Get 
    Set
'Применение
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)

Значение свойства

Тип: System.Decimal
The weight of the collection.

См. также

Справочник

Collection Класс

Пространство имен Microsoft.MasterDataServices.Services.DataContracts