TextElementEnumerator.GetTextElement メソッド

定義

文字列内の現在のテキスト要素を取得します。

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

戻り値

String

読み取る文字列の現在のテキスト要素を格納している新しい文字列。

例外

列挙子が、文字列の最初のテキスト要素の前、または最後のテキスト要素の後に位置しています。

注釈

このメソッドは、プロパティと同じテキスト要素を Current 返します。

適用対象

こちらもご覧ください