Share via


SoapNonNegativeInteger.ToString Método

Definição

Retorna Value como um String.

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

Retornos

Um String que é obtido de Value.

Exemplos

O exemplo de código a seguir mostra como usar o método ToString. Este exemplo de código faz parte de um exemplo maior fornecido para a SoapNonNegativeInteger classe .

// Print the value of the SoapNonNegativeInteger object
// in XSD format.
Console::WriteLine( 
   L"The SoapNonNegativeInteger object in XSD format is {0}.",
   xsdInteger );
// Print the value of the SoapNonNegativeInteger object
// in XSD format.
Console.WriteLine(
    "The SoapNonNegativeInteger object in XSD format is {0}.",
    xsdInteger.ToString());

Aplica-se a