Click or drag to resize

CommonHelperXmlAttributeToText Method (XmlReader, String, String)

Read the named attribute value but if no attribute is found then return the provided default.

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 string XmlAttributeToText(
	XmlReader xmlReader,
	string name,
	string def
)

Parameters

xmlReader
Type: System.XmlXmlReader
Xml reader to load information from.
name
Type: SystemString
Attribute name.
def
Type: SystemString
Default value.

Return Value

Type: String
See Also