ITokenizedStringList Interface
A tokenized representation of a string into abutting and non-overlapping segments.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Public Interface ITokenizedStringList _
Inherits IList(Of String), ICollection(Of String), _
IEnumerable(Of String), IEnumerable
public interface ITokenizedStringList : IList<string>,
ICollection<string>, IEnumerable<string>, IEnumerable
public interface class ITokenizedStringList : IList<String^>,
ICollection<String^>, IEnumerable<String^>, IEnumerable
type ITokenizedStringList =
interface
interface IList<string>
interface ICollection<string>
interface IEnumerable<string>
interface IEnumerable
end
public interface ITokenizedStringList extends IList<String>, ICollection<String>, IEnumerable<String>, IEnumerable
The ITokenizedStringList type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<String>.) | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<String>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<String>.) | |
Original | The original string that was tokenized. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<String>.) | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<String>.) | |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<String>.) | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<String>.) | |
GetElementInOriginal | Maps the index of an element to its span in the original list. | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<String>.) | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
GetSpanInOriginal | Maps a span of elements in this list to the span in the original list. | |
IndexOf | Determines the index of a specific item in the IList<T>. (Inherited from IList<String>.) | |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<String>.) | |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<String>.) | |
RemoveAt | Removes the IList<T> item at the specified index. (Inherited from IList<String>.) |
Top
Remarks
This interface implements IList<T> so that it can be used with IDifferenceService, which finds the differences between two sequences represented as IList<T> objects.