Condividi tramite


SoapNegativeInteger.ToString Metodo

Definizione

Restituisce la proprietà Value come String.

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

Restituisce

Oggetto String ottenuto da Value.

Esempio

Nell'esempio di codice riportato di seguito viene illustrato come utilizzare il metodo ToString. Questo esempio di codice fa parte di un esempio più grande fornito per la SoapNegativeInteger classe.

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

Si applica a