TextSegmentCollection

TextSegmentCollection class

Represents a text segments collection

public sealed class TextSegmentCollection : ICollection<TextSegment>

Properties

Name Description
Count { get; } Gets the number of TextSegment object elements actually contained in the collection.
IsReadOnly { get; } Gets a value indicating whether collection is read-only
IsSynchronized { get; } Gets a value indicating whether access to the collection is synchronized (thread safe).
Item { get; } Gets the text segment element at the specified index.
SyncRoot { get; } Gets an object that can be used to synchronize access to the collection.

Methods

Name Description
Add(TextSegment) Adds the text segment element at the specified index.
Clear() Clears all items from the collection.
Contains(TextSegment) Determines whether the collection contains a specific value.
CopyTo(TextSegment[], int) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
GetEnumerator() Returns an enumerator for the entire collection.
Remove(TextSegment) Deletes specified item from collection.

See Also