SoapQName.ToString Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the qualified name as a String.

Namespace:   System.Runtime.Remoting.Metadata.W3cXsd2001
Assembly:  mscorlib (in mscorlib.dll)

public override string ToString()

Return Value

Type: System.String

A String in the format " Key : Name ". If Key is not specified, this method returns Name.

The following code example shows how to use the ToString method. This code example is part of a larger example that is provided for the SoapQName class.

// Print the value of the SoapQName object in XSD format. 
Console.WriteLine(
    "The SoapQName object in XSD format is {0}.",
    qName.ToString());

.NET Framework
Available since 1.1
Return to top
Show: