WriteStartAttribute()

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

Writes the start of an attribute with the specified local name and namespace URI.

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

Arguments

ParameterTypeDescription
localNameconst String&The local name of the attribute.
nsconst String&The namespace URI of the attribute.

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

When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.

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

Arguments

ParameterTypeDescription
prefixconst String&The namespace prefix of the attribute.
localNameconst String&The local name of the attribute.
nsconst String&The namespace URI for the attribute.

XmlWriter::WriteStartAttribute(const String&) method

Writes the start of an attribute with the specified local name.

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

Arguments

ParameterTypeDescription
localNameconst String&The local name of the attribute.

See Also