SoapMonth.ToString Método

Definição

Retorna Value como um String.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

Retornos

String

Um String que é obtido de Value no formato "--MM--".A String that is obtained from Value in the format "--MM--".

Exemplos

O exemplo de código a seguir mostra como usar o método ToString.The following code example shows how to use the ToString method. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapMonth classe.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());

Aplica-se a