TextElementEnumerator.GetTextElement Method

Definition

Gets the current text element in the string.

public:
 System::String ^ GetTextElement();
public string GetTextElement ();
member this.GetTextElement : unit -> string
Public Function GetTextElement () As String

Returns

A new string containing the current text element in the string being read.

Exceptions

The enumerator is positioned before the first text element of the string or after the last text element.

Remarks

This method returns the same text element as the Current property.

Applies to

See also