NanoXLSX Library Documentation
![]() | LowLevelAppendXmlTag Method |
Method to append a simple XML tag with an enclosed value to the passed StringBuilder
Namespace: NanoXLSX.LowLevel
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
private bool AppendXmlTag( StringBuilder sb, string value, string tagName, string nameSpace )
Parameters
- sb
- Type: System.TextStringBuilder
StringBuilder to append - value
- Type: SystemString
Value of the XML element - tagName
- Type: SystemString
Tag name of the XML element - nameSpace
- Type: SystemString
Optional XML name space. Can be empty or null
Return Value
Type: BooleanReturns false if no tag was appended, because the value or tag name was null or empty
