SoapMonth.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
A String that is obtained from Value in the format "--MM--".
Examples
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 );
// Print the month in XSD format.
Console.WriteLine("The month in XSD format is {0}.",
month.ToString());
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.