Compartir a través de


OpenXmlReader.GetText Method

Gets the text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaración
Public MustOverride Function GetText As String
'Uso
Dim instance As OpenXmlReader
Dim returnValue As String

returnValue = instance.GetText()
public abstract string GetText()

Return Value

Type: System.String
The text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements.

See Also

Reference

OpenXmlReader Class

OpenXmlReader Members

DocumentFormat.OpenXml Namespace