SoapMonth.ToString Method ()

 

Returns Value 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 that is obtained from Value in the format "--MM--".

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 SoapMonth class.

// Print the month in XSD format. 
Console.WriteLine("The month in XSD format is {0}.",
    month.ToString());

.NET Framework
Available since 1.1
Return to top
Show: