Freigeben über


OpenXmlReader.GetText-Methode

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

'Declaration
Public MustOverride Function GetText As String
'Usage
Dim instance As OpenXmlReader
Dim returnValue As String

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

Rückgabewert

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

Siehe auch

Referenz

OpenXmlReader Klasse

OpenXmlReader-Member

DocumentFormat.OpenXml-Namespace