SoapNonNegativeInteger.ToString Method

Definition

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

Returns

A String that is obtained from Value.

Examples

The following code example shows how to use the ToString method. This code example is part of a larger example that is provided for the SoapNonNegativeInteger class.

// 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());

Applies to