Partager via


ITextAndAdornmentCollection Interface

Represents a list of ISequenceElement objects generated by the ITextAndAdornmentSequencer.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Déclaration
Public Interface ITextAndAdornmentCollection _
    Inherits IList(Of ISequenceElement), ICollection(Of ISequenceElement),  _
    IEnumerable(Of ISequenceElement), IEnumerable
public interface ITextAndAdornmentCollection : IList<ISequenceElement>, 
    ICollection<ISequenceElement>, IEnumerable<ISequenceElement>, IEnumerable
public interface class ITextAndAdornmentCollection : IList<ISequenceElement^>, 
    ICollection<ISequenceElement^>, IEnumerable<ISequenceElement^>, IEnumerable
type ITextAndAdornmentCollection =  
    interface
        interface IList<ISequenceElement>
        interface ICollection<ISequenceElement>
        interface IEnumerable<ISequenceElement>
        interface IEnumerable
    end
public interface ITextAndAdornmentCollection extends IList<ISequenceElement>, ICollection<ISequenceElement>, IEnumerable<ISequenceElement>, IEnumerable

The ITextAndAdornmentCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ISequenceElement>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ISequenceElement>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<ISequenceElement>.)
Public property Sequencer Gets the ITextAndAdornmentSequencer that generated the collection.

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<ISequenceElement>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<ISequenceElement>.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ISequenceElement>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ISequenceElement>.)
Public method GetEnumerator() Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ISequenceElement>.)
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<ISequenceElement>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<ISequenceElement>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ISequenceElement>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<ISequenceElement>.)

Top

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace