SoapMonthDay.ToString Método

Definición

Devuelve un parámetro Value como clase String.

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

Devoluciones

String

Objeto String que se obtiene a partir de Value con el formato "'--'MM'-'dd".

Ejemplos

En el ejemplo de código siguiente, se muestra cómo se utiliza el método ToString. Este ejemplo de código forma parte de un ejemplo más grande que se proporciona para la SoapMonthDay clase .

// Print the monthDay in XSD format.
Console::WriteLine( L"The SoapMonthDay object in XSD format is {0}.",
   monthDay );
// Print the monthDay in XSD format.
Console.WriteLine("The SoapMonthDay object in XSD format is {0}.",
    monthDay.ToString());

Se aplica a