Class CalendarCollection
名称: Aspose.Tasks 合計: Aspose.Tasks.dll (25.4.0)
Aspose.Tasks.Calendar オブジェクトのコレクションを表しています。
public class CalendarCollection : IList<calendar>, ICollection<calendar>, IEnumerable<calendar>, IEnumerable
Inheritance
Implements
IList
相続人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
Count
この Aspose.Tasks.CalendarCollection オブジェクトに含まれるオブジェクトの数を取得します。
public int Count { get; }
不動産価値
Methods
Add(ストレッチ)
このカレンダーコレクションオブジェクトに新しいベースカレンダーを追加し、追加カレンダーを返します。
public Calendar Add(string name)
Parameters
name
string
カレンダー名
Returns
追加 Aspose.Tasks.Calendar オブジェクト
Exceptions
カレンダー名がゼロの時点で
Add(スケジュール、カレンダー)
このカレンダーコレクションオブジェクトに指定されたベースカレンダーを含む新しいカレンダーを追加し、追加カレンダーを返します。
public Calendar Add(string name, Calendar baseCalendar)
Parameters
name
string
指定名称
baseCalendar
Calendar
定められたベースカレンダー
Returns
追加 Aspose.Tasks.Calendar オブジェクト
GetByName(ストレッチ)
指定された名前のカレンダーを返します。
public Calendar GetByName(string name)
Parameters
name
string
日程の名前です。
Returns
見つかった場合は、指定された名前のカレンダーを返しますが、その他の名前はゼロを返します。
GetByUid(インタ)
指定された UID でカレンダーを返します。
public Calendar GetByUid(int uid)
Parameters
uid
int
ある日程を記録する。
Returns
定められたUIDを含む日程。
GetEnumerator()
このコレクションのためのリストを返します。
public IEnumerator<calendar> GetEnumerator()
Returns
IEnumerator < Calendar >
このコレクションのリストです。
Remove(Calendar)
プロジェクトカレンダーコレクションからカレンダーを削除します。
public bool Remove(Calendar item)
Parameters
item
Calendar
削除する日程。
Returns
削除が真実を返す場合、否定が偽物を返します。
Exceptions
スケジュールが削除できないときのスケジュール
ToList()
CalendarCollection オブジェクトを Aspose.Tasks.Calendar オブジェクトのリストに変換します。
public List<calendar> ToList()
Returns
Aspose.Tasks.カレンダー オブジェクトのリスト