[]
Represents a contiguous area of content objects in a document. Unlike Range, PersistentRange is kept alive and can be used even if the content used to create this range has been deleted.
Important: to avoid performance degradation, you should dispose PersistentRange when it is no longer needed.
public class PersistentRange : Range, IContentList<ContentObject>, IReadOnlyList<ContentObject>, IReadOnlyCollection<ContentObject>, IEnumerable<ContentObject>, IEnumerable, IDisposable
Public Class PersistentRange
Inherits Range
Implements IContentList(Of ContentObject), IReadOnlyList(Of ContentObject), IReadOnlyCollection(Of ContentObject), IEnumerable(Of ContentObject), IEnumerable, IDisposable
Name | Description |
---|---|
Dispose() | Releases allocated range resources. Should be called once this range is no longer needed. |