Class PageHistory
Nazwa przestrzeń: Aspose.Note Zgromadzenie: Aspose.Note.dll (25.4.0)
Przedstawia historię strony.
public class PageHistory : IList<page>, ICollection<page>, IEnumerable<page>, IEnumerable
Inheritance
Implements
IList
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PageHistory(Page)
Inicjalizuje nową instancję klasy Aspose.Note.PageHistory.
public PageHistory(Page page)
Parameters
page
Page
Aktualna wersja strony.
Properties
Count
Otrzymuje liczbę wersji strony w historii strony.
public int Count { get; }
Wartość nieruchomości
Current
Dostępna jest aktualna wersja strony.
public Page Current { get; }
Wartość nieruchomości
IsReadOnly
Otrzymuje wartość wskazującą, czy historia strony jest tylko czytana.
public bool IsReadOnly { get; }
Wartość nieruchomości
Tego[Int]
Otrzymuje lub ustawia wersję strony na określonym indeksie Aspose.Note.PageHistory.
public Page this[int index] { get; set; }
Wartość nieruchomości
Methods
Add(Page)
Dodaj wersję strony do końca Aspose.Note.PageHistory.
public void Add(Page item)
Parameters
item
Page
Wersja strony .
AddRange(Niepowtarzalna )
Dodaj wersje strony do końca Aspose.Note.PageHistory.
public void AddRange(IEnumerable<page> items)
Parameters
items
IEnumerable
• <
Page
>
System.Collections.Generic.IEnumerable`1 zbiór wersji stron.
Clear()
Wyjaśnij historię strony.
public void Clear()
Contains(Page)
Określa, czy historia strony zawiera wersję strony.
public bool Contains(Page item)
Parameters
item
Page
Wersja strony .
Returns
To jest system. boolean.
CopyTo(Page[ ], i int)
Kopiuj wersje strony do kolejności, począwszy od początku.
public void CopyTo(Page[] array, int arrayIndex)
Parameters
array
Page
[ ]
Celem jest array.
arrayIndex
int
Wskaźnik Array Index.
GetEnumerator()
Powraca numerator, który iteruje za pośrednictwem węzłów dziecięcych Aspose.Note.PageHistory.
public IEnumerator<page> GetEnumerator()
Returns
IEnumerator • < Page >
System. kolekcje i numerator.
IndexOf(Page)
Określa indeks określonej wersji strony w historii strony.
public int IndexOf(Page item)
Parameters
item
Page
Wersja strony .
Returns
Występuje w systemie Int32.
Insert(Strona, strona)
Wprowadź wersję strony do historii strony.
public void Insert(int index, Page item)
Parameters
index
int
To jest indeks.
item
Page
Wersja strony .
Remove(Page)
Usunąć wersję strony z Aspose.Note.PageHistory.
public bool Remove(Page item)
Parameters
item
Page
Wersja strony .
Returns
To jest system. boolean.
RemoveAt(Int)
Usunąć wersję strony w określonym indeksie Aspose.Note.PageHistory.
public void RemoveAt(int index)
Parameters
index
int
To jest indeks.
RemoveRange(i int, int)
Usuwa szereg wersji strony z Aspose.Note.PageHistory.
public void RemoveRange(int index, int count)
Parameters
index
int
To jest indeks.
count
int
I liczba .