 | OpenXmlReaderGetText Method |
Gets the text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic abstract string GetText()
Public MustOverride Function GetText As String
public:
virtual String^ GetText() abstract
abstract GetText : unit -> string
Return Value
String
The text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.
See Also