SoapDay.ToString Method

Definition

Returns Value as a String.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A String obtained from Value in the format "---dd".

Examples

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

// Display the day in XSD format. 
Console::WriteLine( "The day in XSD format is {0}.",
   day );
// Display the day in XSD format.
Console.WriteLine("The day in XSD format is {0}.",
    day.ToString());

Applies to