System::Xml::XmlWriter::WriteElementString method

XmlWriter::WriteElementString(const String&, const String&) method

Writes an element with the specified local name and value.

void System::Xml::XmlWriter::WriteElementString(const String &localName, const String &value)
ParameterTypeDescription
localNameconst String&The local name of the element.
valueconst String&The value of the element.

See Also

XmlWriter::WriteElementString(const String&, const String&, const String&) method

Writes an element with the specified local name, namespace URI, and value.

void System::Xml::XmlWriter::WriteElementString(const String &localName, const String &ns, const String &value)
ParameterTypeDescription
localNameconst String&The local name of the element.
nsconst String&The namespace URI to associate with the element.
valueconst String&The value of the element.

See Also

XmlWriter::WriteElementString(const String&, const String&, const String&, const String&) method

Writes an element with the specified prefix, local name, namespace URI, and value.

void System::Xml::XmlWriter::WriteElementString(const String &prefix, const String &localName, const String &ns, const String &value)
ParameterTypeDescription
prefixconst String&The prefix of the element.
localNameconst String&The local name of the element.
nsconst String&The namespace URI of the element.
valueconst String&The value of the element.

See Also