ITokenizedStringList.GetElementInOriginal(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps the index of an element to its span in the original list.
public:
Microsoft::VisualStudio::Text::Span GetElementInOriginal(int index);
public:
Microsoft::VisualStudio::Text::Span GetElementInOriginal(int index);
Microsoft::VisualStudio::Text::Span GetElementInOriginal(int index);
public Microsoft.VisualStudio.Text.Span GetElementInOriginal (int index);
abstract member GetElementInOriginal : int -> Microsoft.VisualStudio.Text.Span
Public Function GetElementInOriginal (index As Integer) As Span
Parameters
- index
- Int32
The index of the element in the element list.
Returns
The span of the element.
Exceptions
The specified index is either negative or exceeds the list's Count property.
Remarks
This method returns a zero-length span at the end of the string if index is equal to the list's Count property.