Partager via


SoapNonNegativeInteger.ToString Méthode

Définition

Retourne une Value comme String.

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

Retours

String obtenu à partir de Value.

Exemples

L'exemple de code suivant montre comment utiliser la méthode ToString. Cet exemple de code fait partie d’un exemple plus grand fourni pour la 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());

S’applique à