SoapYear.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 "yyyy" or "-yyyy" if Sign is negative.

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

// Print the year in XSD format. 
Console.WriteLine("The year in XSD format is {0}.",

.NET Framework
Available since 1.1
Return to top