Class PageHistory

Class PageHistory

名称: Aspose.Note 集合: Aspose.Note.dll (25.4.0)

代表页面历史。

public class PageHistory : IList<page>, ICollection<page>, IEnumerable<page>, IEnumerable

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PageHistory(Page)

启动 Aspose.Note.PageHistory 类的新例子。

public PageHistory(Page page)

Parameters

page Page

目前的页面版本。

Properties

Count

在页面历史中获取页面的版本的数量。

public int Count { get; }

财产价值

int

Current

获取当前页面版本。

public Page Current { get; }

财产价值

Page

IsReadOnly

收到一个值,表明页面历史是否仅被阅读。

public bool IsReadOnly { get; }

财产价值

bool

这个[因特]

获取或将页面版本设置到 Aspose.Note.PageHistory 的指数。

public Page this[int index] { get; set; }

财产价值

Page

Methods

Add(Page)

将页面版本添加到 Aspose.Note.PageHistory 的结尾。

public void Add(Page item)

Parameters

item Page

页面版本。

AddRange(无数>页面>)

将页面版本添加到 Aspose.Note.PageHistory 的结尾。

public void AddRange(IEnumerable<page> items)

Parameters

items IEnumerable < Page >

System.Collections.Generic.IEnumerable`1 页面版本的集合。

Clear()

清理页面历史。

public void Clear()

Contains(Page)

确定页面历史是否包含页面的版本。

public bool Contains(Page item)

Parameters

item Page

页面版本。

Returns

bool

这个系统,Boolean。

CopyTo(Page( ), int)

将页面版本复制到一个序列,从头开始。

public void CopyTo(Page[] array, int arrayIndex)

Parameters

array Page ( )

目标是拉里。

arrayIndex int

Array 指数。

GetEnumerator()

返回通过 Aspose.Note.PageHistory的儿童节点的列表器。

public IEnumerator<page> GetEnumerator()

Returns

IEnumerator < Page >

此分類上一篇: System.Collections.IEnumerator

IndexOf(Page)

在页面历史中确定特定页面的索引。

public int IndexOf(Page item)

Parameters

item Page

页面版本。

Returns

int

此分類上一篇: Int32

Insert(张,页面)

将页面的版本插入页面历史。

public void Insert(int index, Page item)

Parameters

index int

这个指数。

item Page

页面版本。

Remove(Page)

从 Aspose.Note.PageHistory 中删除页面版本。

public bool Remove(Page item)

Parameters

item Page

页面版本。

Returns

bool

这个系统,Boolean。

RemoveAt(因特)

在 Aspose.Note.PageHistory 指定的索引中删除页面版本。

public void RemoveAt(int index)

Parameters

index int

这个指数。

RemoveRange(int , int , int)

从 Aspose.Note.PageHistory 中删除一系列页面版本。

public void RemoveRange(int index, int count)

Parameters

index int

这个指数。

count int

这个数字。

 中文