Click or drag to resize

CommonHelperTextToXmlAttribute(XmlWriter, String, String) Method

Only persist the provided name/value pair as an Xml attribute if the value is not null or empty.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void TextToXmlAttribute(
	XmlWriter xmlWriter,
	string name,
	string value
)

Parameters

xmlWriter  XmlWriter
Xml writer to save information into.
name  String
Attribute name.
value  String
Attribute value.
See Also