ToString()

XmlQualifiedName::ToString() const method

Returns the string value of the XmlQualifiedName.

String System::Xml::XmlQualifiedName::ToString() const override

Return Value

The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name.

XmlQualifiedName::ToString(const String&, const String&) method

Returns the string value of the XmlQualifiedName.

static String System::Xml::XmlQualifiedName::ToString(const String &name, const String &ns)

Arguments

ParameterTypeDescription
nameconst String&The name of the object.
nsconst String&The namespace of the object.

Return Value

The string value of the XmlQualifiedName in the format of namespace:localname. If the object does not have a namespace defined, this method returns just the local name.

See Also