Class PageHistory
Pôvodný názov: Aspose.Note Zhromaždenie: Aspose.Note.dll (25.4.0)
Predstavuje históriu stránky.
public class PageHistory : IList<page>, ICollection<page>, IEnumerable<page>, IEnumerable
Inheritance
Implements
IList
Z dedičných členov
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PageHistory(Page)
Initalizuje novú inštanciu triedy Aspose.Note.PageHistory.
public PageHistory(Page page)
Parameters
page
Page
Aktuálna verzia stránky.
Properties
Count
Získajte počítanie verzií stránky v histórii stránky.
public int Count { get; }
Hodnota nehnuteľnosti
Current
Získajte aktuálnu verziu stránky.
public Page Current { get; }
Hodnota nehnuteľnosti
IsReadOnly
Získava hodnotu, ktorá ukazuje, či sa príbeh stránky číta iba.
public bool IsReadOnly { get; }
Hodnota nehnuteľnosti
Toto[int]
Získajte alebo nastavíte verziu stránky na špecifikovanom indexe Aspose.Note.PageHistory.
public Page this[int index] { get; set; }
Hodnota nehnuteľnosti
Methods
Add(Page)
Pridajte verziu stránky na koniec Aspose.Note.PageHistory.
public void Add(Page item)
Parameters
item
Page
Táto verzia stránky.
AddRange(Číslo > Stránka>)
Pridáva verziu stránky na koniec Aspose.Note.PageHistory.
public void AddRange(IEnumerable<page> items)
Parameters
items
IEnumerable
<
Page
>
System.Collections.Generic.IEnumerable`1 zbierka verzií stránok.
Clear()
Vyčistite históriu stránky.
public void Clear()
Contains(Page)
Určuje, či história stránky obsahuje verziu stránky.
public bool Contains(Page item)
Parameters
item
Page
Táto verzia stránky.
Returns
Systém je boolean.
CopyTo(Page[], a int)
Kopírujte verzie stránky do rebríčka, začínajúce na začiatku.
public void CopyTo(Page[] array, int arrayIndex)
Parameters
array
Page
[]
Cieľom je Array.
arrayIndex
int
Je to index array.
GetEnumerator()
Vráti enumerátor, ktorý iteruje cez detské uzly Aspose.Note.PageHistory.
public IEnumerator<page> GetEnumerator()
Returns
IEnumerator < Page >
Systém. kolekcie a IENUMERATOR
IndexOf(Page)
Určuje index konkrétnej verzie stránky v histórii stránky.
public int IndexOf(Page item)
Parameters
item
Page
Táto verzia stránky.
Returns
Spoločnosť Int32.
Insert(Čítať ďalej → Page)
Vložte verziu stránky do histórie stránky.
public void Insert(int index, Page item)
Parameters
index
int
To je index.
item
Page
Táto verzia stránky.
Remove(Page)
Odstrániť verziu stránky z Aspose.Note.PageHistory.
public bool Remove(Page item)
Parameters
item
Page
Táto verzia stránky.
Returns
Systém je boolean.
RemoveAt(int)
Odstráni verziu stránky na špecifikovanom indexe Aspose.Note.PageHistory.
public void RemoveAt(int index)
Parameters
index
int
To je index.
RemoveRange(a int, int)
Odstráni rad verzií stránky z Aspose.Note.PageHistory.
public void RemoveRange(int index, int count)
Parameters
index
int
To je index.
count
int
To je počítanie.