Class TextFragmentCollection

TextFragmentCollection class

Represents a text fragments collection

public sealed class TextFragmentCollection : ICollection<TextFragment>

Properties

NameDescription
Count { get; }Gets the number of TextFragment 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 fragment element at the specified index.
SyncRoot { get; }Gets an object that can be used to synchronize access to the collection.

Methods

NameDescription
Add(TextFragment)Adds the text fragment element at the specified index.
Clear()Clears all items from the collection.
Contains(TextFragment)Determines whether the collection contains a specific value.
CopyTo(TextFragment[], 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(TextFragment)Deletes specified item from collection.

See Also