EncodeName()

XmlConvert::EncodeName(const String&) method

Converts the name to a valid XML name.

static String System::Xml::XmlConvert::EncodeName(const String &name)

Arguments

ParameterTypeDescription
nameconst String&A name to be translated.

Return Value

The name with any invalid characters replaced by an escape string.

See Also