Class OleObjectCollection
Class OleObjectCollection
名称: Aspose.Tasks 集合: Aspose.Tasks.dll (25.4.0)
代表一系列包含 Aspose.Tasks.OleObject 类的例子。
public sealed class OleObjectCollection : IList<oleobject>, ICollection<oleobject>, IEnumerable<oleobject>, IEnumerable
Inheritance
Implements
IList
继承人
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
Clear()
清理收藏. 要保持这些更改项目.Save 应与新 MPPSaveOptions 呼叫 { WriteViewData = true; }
public void Clear()
Examples
如何清除 OLE 对象,并坚持这些变化。
project.OleObjects.Clear();
project.Save("output.mpp", new MPPSaveOptions {WriteViewData = true;} )
GetEnumerator()
返回此收藏的列表。
public IEnumerator<oleobject> GetEnumerator()
Returns
IEnumerator < OleObject >
为此收藏的列表。
ToList()
将 Aspose.Tasks.OleObject 类的示例转换为包含 Aspose.Tasks.OleObject 类的示例列表。
public List<oleobject> ToList()
Returns
转换为列出 Aspose.Tasks.OleObjectCollection 类的示例,包含 Aspose.Tasks.OleObject 类的示例。