Back to API Reference
Class
BlockLease
sealed
Implements:IDisposable
Blocks pinned by Rope.Lease; content reads are thread-safe, disposal is main-thread.
public TextBlockFlags BlockFlags(int i)public int CopyChars(Span<char> destination)Copies the concatenated content of every leased block; returns the number of chars written.
public int CopyBlockChars(int i, Span<char> destination)Copies one leased block's content.
public int CopyBlockChars(int i, int start, int count, Span<char> destination)Copies logical chars [start, start+count) of one leased block.
