The FormattingStyleCollection class is the base class of the ParagraphStyleCollection and InlineStyleCollection classes. It implements their base functionality and the IEnumerable and the ICollection interface.


public abstract class FormattingStyleCollection : ICollection, IEnumerable
Public MustInherit Class FormattingStyleCollection
  Implements ICollection
  Implements IEnumerable

Introduced: 10.1.


Method Description
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
Remove Removes a formatting style from a Text Control document.


Property Description
Count Gets the number of elements contained in the collection.
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
SyncRoot Gets an object that can be used to synchronize access to the collection.