System::Xml::XmlWriter::WriteStartElement method

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)
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.

See 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
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.

See Also

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)
ParameterTypeDescription
localNameconst String&The local name of the element.

See Also