WriteStartElement()

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

When overridden in a derived class, writes the specified start tag and associates it with the given namespace.

void System::Xml::XmlWriter::WriteStartElement(const String &localName, const String &ns)

Arguments

ParameterTypeDescription
localNameconst String&The local name of the element.
nsconst String&The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix, the writer automatically writes that prefix also.

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

When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix.

virtual void System::Xml::XmlWriter::WriteStartElement(const String &prefix, const String &localName, const String &ns)=0

Arguments

ParameterTypeDescription
prefixconst String&The namespace prefix of the element.
localNameconst String&The local name of the element.
nsconst String&The namespace URI to associate with the element.

XmlWriter::WriteStartElement(const String&) method

When overridden in a derived class, writes out a start tag with the specified local name.

void System::Xml::XmlWriter::WriteStartElement(const String &localName)

Arguments

ParameterTypeDescription
localNameconst String&The local name of the element.

See Also