[]
Contains a collection of Page objects.
public class PagesCollection<T> : IPagesCollection<T>, IList, ICollection, IEnumerable, IDisposable, ICloneable where T : Page, new()
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| PagesCollection() | Initializes a new instance of the PagesCollection<T> class. |
| PagesCollection(DocumentBase<T>) | Initializes a new instance of the PagesCollection<T> class. |
| Name | Description |
|---|---|
| _lock | Synchronization object for thread safety. |
| Name | Description |
|---|---|
| Count | Gets the number of elements contained in the ICollection. |
| Document | Gets the document. |
| FileVersion | Gets the file version. |
| Fonts | Gets the fonts collection. |
| IsFixedSize | Gets whether the IList has a fixed size. |
| IsReadOnly | Gets whether the IList is read-only. |
| IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
| this[int] | Returns a Page object at specified index in the collection. |
| SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
| Name | Description |
|---|---|
| Add(Guid, T) | Adds a new item into the cache. |
| Add(object) | Adds an item to the IList. |
| Add(T) | Adds a page object to the end of the pages collection. |
| AddRange(PagesCollection<T>) | Adds the elements of pages collection to the end of the pages collection. |
| AddRange(T[]) | Adds the elements of an array of pages to the end of the pages collection. |
| Clear() | Removes all the page objects from the page collection. |
| Clone() | Performs a cloning of this instance. |
| Contains(object) | Determines whether the IList contains a specific value. |
| Contains(T) | Determines whether a page element is in the PagesCollection. |
| CopyTo(Array, int) | Copies the elements of the ICollection to an Array, starting at a given Array index. |
| CopyTo(T[], int) | Copies an array of page objects to the pages collection from the specified index. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources. |
| Dispose(bool) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources. |
| FillCloneCore(PagesCollection<T>) | Fills the core of the specified clone object. |
| GetEnumerator() | Returns an enumerator that iterates through a collection. |
| IndexOf(object) | Gets the index of a specific item in the IList. |
| IndexOf(T) | Returns the zero-based index of the first occurrence of the page object in the pages collection. |
| Insert(int, object) | Inserts an item to the IList at the specified index. |
| Insert(int, T) | Inserts a page element into the pages collection at the specified index. |
| InsertNew(int) | Inserts a new page element into the pages collection at the specified index. |
| InsertRange(int, PagesCollection<T>) | Inserts the elements from page collections objects into the pages collection at the specified index. |
| InsertRange(int, T[]) | Inserts the elements from an array of page objects into the pages collection at the specified index. |
| OnChanged() | Calls when a page is changed |
| Remove(object) | Removes the first occurrence of a specific object from the IList. |
| Remove(T) | Removes the first occurrence of page object from the pages collection. |
| RemoveAt(int) | Removes item by index. |
| Name | Description |
|---|---|
| Changed | The event occurs when the item is changed. |