Share via


TextRunCollection Members

The following tables list the members exposed by the TextRunCollection type.

Public Properties

Name Description
Public Property Count Gets the number of objects in the current text run collection.
Public Property IsSynchronized Gets a value that indicates whether access to the current text run collection is presently synchronized.
Public Property Item Gets or sets a specified object in the current text run collection.
Public Property SyncRoot Gets an object that can be used to synchronize access to the current text run collection.

Public Methods

Name Description
Public Method Add Overloaded. Adds a TextRun object (string) to the current text run collection.
Public Method Clear Empties the current text run collection.
Public Method Contains Determines whether the current text run collection contains a specified text run.
Public Method CopyTo Copies a specified portion of the current text run collection into a specified array.
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Retrieves an enumerator that programs can use to iterate through the current text run collection.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method IndexOf Returns the index number of the specified TextRun object, if that object is found in the current text run collection.
Public Method Insert Inserts a specified TextRun object at a specified position (index number) in the current text run collection.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Remove Removes the first occurrence of a specified TextRun object from the current text run collection.
Public Method RemoveAt Removes the TextRun object at a specified position (index number) in the current text run collection.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

TextRunCollection Class
Microsoft.SPOT.Presentation.Controls Namespace