OpenXmlDomReader.GetText Method

Definition

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

public override string GetText ();
override this.GetText : unit -> string
Public Overrides Function GetText () As String

Returns

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

Applies to