TextElementEnumerator.GetTextElement 方法

定義

取得字串中目前的文字項目。

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

傳回

含有正被讀取字串中的目前文字項目的新字串。

例外狀況

列舉值位於字串的第一個文字項目之前,或最後一個文字項目之後。

備註

這個方法會傳回與 屬性相同的文字專案 Current

適用於

另請參閱