OpenXmlPartReader.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
'Declaration
Public Overrides Function GetText As String
'Usage
Dim instance As OpenXmlPartReader
Dim returnValue As String
returnValue = instance.GetText()
public override string GetText()
Return Value
Type: System.String
The text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements.