Click or drag to resize

CommonHelperTextToXmlAttribute Method (XmlWriter, String, String)

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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void TextToXmlAttribute(
	XmlWriter xmlWriter,
	string name,
	string value
)

Parameters

xmlWriter
Type: System.XmlXmlWriter
Xml writer to save information into.
name
Type: SystemString
Attribute name.
value
Type: SystemString
Attribute value.
See Also