XmlQualifiedName.ToString Method (String, String)

 

Returns the string value of the XmlQualifiedName.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public static string ToString(
	string name,
	string ns
)

Parameters

name
Type: System.String

The name of the object.

ns
Type: System.String

The namespace of the object.

Return Value

Type: System.String

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: