Class RateCollection
Именује се: Aspose.Tasks Асамблеја: Aspose.Tasks.dll (25.4.0)
Представља колекцију која садржи Aspose.Tasks.Rate објекте.
public class RateCollection : IDictionary<ratetype, ratebydatecollection="">, ICollection<keyvaluepair<ratetype, ratebydatecollection="">>, IEnumerable<keyvaluepair<ratetype, ratebydatecollection="">>, IEnumerable
Inheritance
Implements
IDictionary<ratetype, ratebydatecollection=""> , ICollection<keyvaluepair<ratetype, ratebydatecollection="">> , IEnumerable<keyvaluepair<ratetype, ratebydatecollection="">> , IEnumerable
Наслеђени чланови
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
Добије број елемената који се налазе у RateCollection.
public int Count { get; }
Вредност имовине
IsReadOnly
Добија вредност која указује на то да ли се ова колекција чита само.
public bool IsReadOnly { get; }
Вредност имовине
ParentResource
Добијете родитељ Аппосе.Таскс.Ресурсни објекат за ову колекцију.
public Resource ParentResource { get; }
Вредност имовине
Ово[RateType]
Враћа или ставља елемент на одређени индекс.
public RateByDateCollection this[RateType key] { get; set; }
Вредност имовине
Methods
Add(DateTime)
Додајте нови примјер Aspose.Tasks.Rate у ову колекцију.
public Rate Add(DateTime ratesFrom)
Parameters
ratesFrom
DateTime
Датум када нова стопа ступи на снагу.
Returns
Додајте Aspose.Tasks.Rate примјер.
Add(Датум, датум)
Додајте нови примјер Aspose.Tasks.Rate у ову колекцију.
public Rate Add(DateTime ratesFrom, RateType type)
Parameters
ratesFrom
DateTime
Датум када нова стопа ступи на снагу.
type
RateType
Табела цијена која треба додати.
Returns
Додајте Aspose.Tasks.Rate примјер.
GetEnumerator()
Повратак листе за ову колекцију.
public IEnumerator GetEnumerator()
Returns
Издавач за ову колекцију.
Remove(Rate)
Уклоните примјерне стопе из ове колекције.
public bool Remove(Rate item)
Parameters
item
Rate
Предмет да се уклони.
Returns
истинито ако је одређена стопа успешно уклоњена; иначе, лажна.
ToList()
Конвертује Aspose.Tasks.RateCollection објекат у листу Aspose.Tasks.Rate објеката.
public List<rate> ToList()
Returns
Списак Aspose.Tasks.Rate објеката.
ToList(RateType)
Конвертује Aspose.Tasks.RateCollection објекат у листу Aspose.Tasks.Rate објеката филтрираних одређеним Aspose.Tasks.RateType типом.
public List<rate> ToList(RateType type)
Parameters
type
RateType
Тип који треба филтрирати.
Returns
Списак објеката Aspose.Tasks.Rate.</keyvaluepair<ratetype,></keyvaluepair<ratetype,></ratetype,></keyvaluepair<ratetype,></keyvaluepair<ratetype,></ratetype,>