OpenXmlReader.GetText Method

Definition

Gets the text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.

public abstract string GetText ();
abstract member GetText : unit -> string
Public MustOverride Function GetText () As String

Returns

The text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.

Applies to