Class OleObjectCollection
Nazwa przestrzeń: Aspose.Tasks Zgromadzenie: Aspose.Tasks.dll (25.4.0)
Przedstawia kolekcję zawierającą przykłady klasy Aspose.Tasks.OleObject.
public sealed class OleObjectCollection : IList<oleobject>, ICollection<oleobject>, IEnumerable<oleobject>, IEnumerable
Inheritance
Implements
IList
Dziedziczeni członkowie
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Clear()
Aby utrzymać te zmiany projekt.Save należy zadzwonić z nowym MPPSaveOptions { WriteViewData = true; }
public void Clear()
Examples
Jak wyczyścić obiekty OLE i utrzymać te zmiany.
project.OleObjects.Clear();
project.Save("output.mpp", new MPPSaveOptions {WriteViewData = true;} )
GetEnumerator()
Zwróć listę do tej kolekcji.
public IEnumerator<oleobject> GetEnumerator()
Returns
IEnumerator • < OleObject >
List do tej kolekcji.
ToList()
Konwertuje przykład klasy Aspose.Tasks.OleObjectCollection na listę zawierającą przykłady klasy Aspose.Tasks.OleObject.
public List<oleobject> ToList()
Returns
Konwertowane do listy przykładu klasy Aspose.Tasks.OleObjectCollection zawierającej przykłady klasy Aspose.Tasks.OleObject.