ITokenizedStringList::GetElementInOriginal Method (Int32)
Visual Studio 2015
Maps the index of an element to its span in the original list.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- index
-
Type:
System::Int32
The index of the element in the element list.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified index is either negative or exceeds the list's Count property. |
This method returns a zero-length span at the end of the string if index is equal to the list's Count property.
Show: